RemoveUnusedResources Method (GdPicturePDF)
In This Topic
Removes all unused resources from the currently loaded PDF document in order to minimize its file size mostly after splitting or removing pages.
This method is particularly useful when you remove pages or split large PDF documents to smaller ones. Sometimes it happens that shared document resources are transferred to single pages when splitting, or they have been left unused after removing their source pages. You can simply use this method to eliminate such redundant resources and to reduce the file size if necessary.
Overload List
Overload | Description |
RemoveUnusedResources | Removes all unused resources from the currently loaded PDF document in order to minimize its file size mostly after splitting or removing pages.
This method is particularly useful when you remove pages or split large PDF documents to smaller ones. Sometimes it happens that shared document resources are transferred to single pages when splitting, or they have been left unused after removing their source pages. You can simply use this method to eliminate such redundant resources and to reduce the file size if necessary. |
See Also