OptimizationOptions Properties |
The DocumentOptimizationOptions type exposes the following members.
Name | Description | |
---|---|---|
![]() | AllowReusePageContent |
If true page contents will be reused when document is optimized for equal pages.
(Inherited from OptimizationOptions.) |
![]() | CompressImages | Obsolete.
If this flag is set to true images will be compressed in the document. compression level is specfied with ImageQuality property.
(Inherited from OptimizationOptions.) |
![]() | ImageCompressionOptions |
Set of options which describe will images in the document be compressed and parameters of the compression.
(Inherited from OptimizationOptions.) |
![]() | ImageEncoding |
Image encodre which will be used.
(Inherited from OptimizationOptions.) |
![]() | ImageQuality | Obsolete.
Specifies level of image compression when CompressIamges flag is used.
(Inherited from OptimizationOptions.) |
![]() | LinkDuplcateStreams |
If this flag is set to true, Resource streams will be analyzed. If duplicate streams are found (i.e. if stream contents is equal), then thes streams will be stored as one object.
This allows to decrease document size in some cases (for example, when same document was concatenedted multiple times).
(Inherited from OptimizationOptions.) |
![]() | MaxResoultion |
Specifies maximum resolution of images. If image has higher resolition it will be scaled
(Inherited from OptimizationOptions.) |
![]() | RemovePrivateInfo |
Remove private information (page piece info).
(Inherited from OptimizationOptions.) |
![]() | RemoveUnusedObjects |
If this flag is set to true, all document objects will be checked and unused objects (i.e. objects which does not have any reference) are removed from document.
(Inherited from OptimizationOptions.) |
![]() | RemoveUnusedStreams |
If this flag set to true, every resource is checked on it's usage. If resource is never used, then resources is removed.
This may decrease document size for example when pages were extracted from document.
(Inherited from OptimizationOptions.) |
![]() | ResizeImages | Obsolete.
If this flag set to true and CompressImages is true images will be resized if image resoultion is greater then specified MaxResolution parameter.
(Inherited from OptimizationOptions.) |
![]() | SubsetFonts |
Fonts will be converted into subsets if set to true.
(Inherited from OptimizationOptions.) |
![]() | UnembedFonts |
Make fonts not embedded if set to true.
(Inherited from OptimizationOptions.) |