DocumentRotator Class
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.
Inheritance Hierarchy
Bytescout.PDFExtractorDocumentRotator
Namespace:Bytescout.PDFExtractor
Assembly: Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.0.4760-master
Syntax
The DocumentRotator type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| DocumentRotator | Initializes a new instance of the DocumentRotator class. | |
| DocumentRotator(String, String) | Initializes a new instance of the DocumentRotator class. |
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. | |
| Dispose | Releases all resources used by the DocumentRotator | |
| Equals | (Inherited from Object.) | |
| Finalize | (Inherited from Object.) | |
| GetHashCode | (Inherited from Object.) | |
| GetPageCount(Stream) | Returns the number of pages of the document. | |
| GetPageCount(String) | Returns the number of pages of the document. | |
| GetType | (Inherited from Object.) | |
| MemberwiseClone | (Inherited from Object.) | |
| 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. | |
| ToString | (Inherited from Object.) |
Events
| Name | Description | |
|---|---|---|
| PasswordRequired | Occurs when the password required to decrypt the document. |
See Also