IBaseRenderer 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
Defines a base interface for PDF renderers.
Namespace:Bytescout.PDFRendererAssembly: Bytescout.PDFRenderer (in Bytescout.PDFRenderer.dll) Version: 13.4.0.4759-master
Syntax
The IBaseRenderer type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| ExtractionArea | Sets the extraction area by coordinates and dimensions. | |
| ExtractionAreaRect | Sets the extraction area by rectangle. | |
| LicenseInfo | Gets license information. | |
| Password | PDF document owner password. | |
| RegistrationKey | Registration key. | |
| RegistrationName | Registration name. | |
| Version | Gets the component version number. |
Methods
| Name | Description | |
|---|---|---|
| Dispose | (Inherited from IDisposable.) | |
| GetPageCount | Returns document page count. | |
| GetPageRect_Height | Gets the specified page height. | |
| GetPageRect_Left | Gets the specified page left coordinate. | |
| GetPageRect_Top | Gets the specified page top coordinate. | |
| GetPageRect_Width | Gets the specified page width. | |
| GetPageRectangle(Int32) | Gets the page rectangle in PDF Points (1 Point = 1/72 in.). | |
| GetPageRectangle(Int32, Boolean) | Gets the page rectangle in PDF Points (1 Point = 1/72 in.). | |
| LoadDocumentFromFile | Loads PDF document from specified file. | |
| LoadDocumentFromStream | Loads PDF document from provided stream. | |
| Reset | Resets the instance, disposes internal resources and releases the file. Use this method before loading another PDF file. | |
| ResetExtractionArea | Resets the extraction area to full page. | |
| SetExtractionArea(RectangleF) | Sets the extraction area by rectangle. | |
| SetExtractionArea(Double, Double, Double, Double) | Sets the extraction area by coordinates and dimensions. | |
| SetExtractionArea(Single, Single, Single, Single) | Sets the extraction area by coordinates and dimensions. |
Events
| Name | Description | |
|---|---|---|
| ParsingError | Raised on PDF document parsing errors. This usually indicates a damaged document. | |
| PasswordRequired | Occurs when the password required to decrypt the document. | |
| ProgressChanged | Raised for each reported progress value. Allows to cancel the processing. |
See Also