IDocumentOptimizer Interface
Free Trial Web API version Licensing Request A Quote
HAVE QUESTIONS OR NEED HELP?SUBMIT THE SUPPORT REQUEST FORM or write email toSUPPORT@BYTESCOUT.COM
Represents PDF document optimizer.
Namespace:Bytescout.PDFExtractorAssembly: Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.0.4760-master
Syntax
The IDocumentOptimizer type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| CheckPermissions | Defines whether respect permissions set by document owner. If True, extractor throws exception when the document modification is prohibited. | |
| LicenseInfo | Gets license information. | |
| RegistrationKey | Registration key. | |
| RegistrationName | Registration name. | |
| Version | Gets the component version number. |
Methods
| Name | Description | |
|---|---|---|
| Dispose | (Inherited from IDisposable.) | |
| OptimizeDocument(Stream, Stream) | Optimizes PDF document with default options. | |
| OptimizeDocument(String, String) | Optimizes PDF document with default options. | |
| OptimizeDocument(Stream, Stream, OptimizationOptions) | Optimizes PDF document. | |
| OptimizeDocument(String, String, OptimizationOptions) | Optimizes PDF document. | |
| OptimizeDocumentToVariant(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). | |
| OptimizeDocumentToVariant(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). |
Events
| Name | Description | |
|---|---|---|
| PasswordRequired | Occurs when the password required to decrypt the document. | |
| ProgressChanged | Raised for each reported progress value. Allows to cancel the processing. |
See Also