Link Search Menu Expand Document

DocumentOptimizer Class

Represents PDF document optimizer.
Inheritance Hierarchy
SystemObject
Bytescout.PDFExtractorDocumentOptimizer

Namespace:Bytescout.PDFExtractor
Assembly: Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.0.4760-master
Syntax
public class DocumentOptimizer : IDocumentOptimizer, 
	IDisposable

The DocumentOptimizer type exposes the following members.

Constructors
NameDescription
Public methodDocumentOptimizer
Initializes a new instance of DocumentOptimizer class.
Public methodDocumentOptimizer(String, String)
Initializes a new instance of DocumentOptimizer class.
Top
Properties
NameDescription
Public propertyCheckPermissions
Defines whether respect permissions set by document owner. If True, extractor throws exception when the extraction is prohibited.
Public propertyLicenseInfo
Gets license information.
Public propertyRegistrationKey
Registration key.
Public propertyRegistrationName
Registration name.
Public propertyVersion
Gets the component version number.
Top
Methods
NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOptimizeDocument(Stream, Stream)
Optimizes PDF document with default options.
Public methodOptimizeDocument(String, String)
Optimizes PDF document with default options.
Public methodOptimizeDocument(Stream, Stream, OptimizationOptions)
Optimizes PDF document.
Public methodOptimizeDocument(String, String, OptimizationOptions)
Optimizes PDF document.
Public methodOptimizeDocumentToVariant(Object)
Optimizes PDF document with default options and returns the result PDF document as array of bytes. This is COM/ActiveX-compatible version of the method OptimizeDocument(Stream, Stream).
Public methodOptimizeDocumentToVariant(Object, OptimizationOptions)
Optimizes PDF document and returns the result PDF document as array of bytes. This is COM/ActiveX-compatible version of the method OptimizeDocument(Stream, Stream, OptimizationOptions).
Public methodToString (Inherited from Object.)
Top
Events
NameDescription
Public eventPasswordRequired
Occurs when the password required to decrypt the document.
Public eventProgressChanged
Raised for each reported progress value. Allows to cancel the processing.
Top
See Also

Reference