OptimizationOptions

OptimizationOptions

Overview

OptimizationOptions is a class in Aspose.PDF FOSS for .NET.

Class which describes document optimization algorithm.

This class provides 1 method for working with OptimizationOptions objects in .NET programs. Available methods include: All. All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: AllowReusePageContent, CompressObjects, ImageCompressionOptions, ImageEncoding, LinkDuplicateStreams, MaxResoultion, and 6 more.

Properties

NameTypeAccessDescription
RemoveUnusedObjectsboolRead/WriteEliminate unreferenced document objects.
RemoveUnusedStreamsboolRead/WriteDelete unused resources from the document.
LinkDuplicateStreamsboolRead/WriteConsolidate duplicate resource streams into single objects.
CompressObjectsboolRead/WritePack PDF objects into Object Streams (PDF 1.5+ /ObjStm) with compression.
MaxResoultionintRead/WriteMaximum image resolution; higher resolution images are scaled down.
AllowReusePageContentboolRead/WriteAllow reusing page content streams across identical pages.
UnembedFontsboolRead/WriteRemove font embedding from Standard-14 fonts (built into PDF viewers).
SubsetFontsboolRead/WriteConvert fonts into subsets (remove unused glyphs).
RemovePrivateInfoboolRead/WriteStrip page-piece information and other private (application-specific) information from the document.
ImageCompressionOptionsImageCompressionOptionsReadImage-compression sub-options.
ResizeImagesboolRead/WriteResize images that exceed MaxResoultion.
ImageEncodingImageEncodingRead/WriteSpecifies the encoder used for image processing.

Methods

SignatureDescription
All()Factory returning an optimization strategy with all non-destructive options enabled.

See Also