IDocumentRotator 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 rotator.
Namespace:Bytescout.PDFExtractorAssembly: Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.0.4760-master
Syntax
The IDocumentRotator type exposes the following members.
Properties
Name | Description | |
---|---|---|
CheckPermissions | Defines whether respect permissions set by document owner. If true, extractor throws exception when the extraction is prohibited. Default is true. | |
LicenseInfo | Gets license information. | |
OCRLanguage | Language for Optical Character Recognition (OCR). The valid values are:
Download more languages at https://github.com/bytescout/ocrdata. | |
OCRLanguageDataFolder | Folder containing OCR language data files. In addition to the language selected by OCRLanguage, the folder must contain the "osd.traineddata" file required for rotation detection. | |
RegistrationKey | Registration key. | |
RegistrationName | Registration name. | |
Version | Gets the component version number. |
Methods
Name | Description | |
---|---|---|
AutoRotate(Stream, Stream) | Rotates specified PDF document automatically. | |
AutoRotate(String, String) | Rotates specified PDF document automatically. Automatic rotation works via optical recognition and requires from you to set the | |
AutoRotateToVariant | Rotates specified PDF document automatically and returns the result PDF document as array of bytes. This is COM/ActiveX-compatible version of the method AutoRotate(Stream, Stream) for in-memory processing of PDF files. | |
GetPageCount(Stream) | Returns the number of pages of the document. | |
GetPageCount(String) | Returns the number of pages of the document. | |
Rotate(Stream, Stream, RotationAngle) | Rotates specified PDF document to specified angle. | |
Rotate(Stream, Stream, IListDocumentRotatorPageAndAngle) | Rotates specified PDF document to specified angle. | |
Rotate(String, String, RotationAngle) | Rotates specified PDF document to specified angle. | |
Rotate(String, String, IListDocumentRotatorPageAndAngle) | Rotates specified PDF document to specified angle. | |
RotateToVariant | Rotates specified PDF document to specified angle and returns the result PDF document as array of bytes. This is COM/ActiveX-compatible version of the method Rotate(Stream, Stream, RotationAngle) for in-memory processing of PDF files. |
Events
Name | Description | |
---|---|---|
PasswordRequired | Occurs when the password required to decrypt the document. |
See Also