PdfDevice class
PdfDevice class
This class encapsulates rendering of document to PDF.
Inheritance: PdfDevice →
Device
The PdfDevice type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
| init | Initializes new instance of PdfDevice with output stream. |
| init | Initializes new instance of PdfDevice with output stream and specified size of a page. |
Properties
| Property | Description |
|---|---|
| current_page_number | Current page number. |
| output_stream | Specifies or returns an output stream. |
| VERSION | “Version” property key. |
| VERSION5 | “Version of Adobe Acrobat Reader” property value. |
| TRANSPARENT | “Transparent” property key. |
| BACKGROUND | “Background” property key. |
| BACKGROUND_COLOR | “Background color” property key. |
| PAGE_SIZE | “Page size” property key. |
| PAGE_MARGINS | “Page margins” property key. |
| ORIENTATION | “Orientation” property key. |
| FIT_TO_PAGE | “Fit content to page” property key. |
| EMBED_FONTS | “Embed font in document” property key. |
| EMBED_FONTS_AS | “What font type is used for embedding” property key. |
| COMPRESS | “Compress” property key. |
| WRITE_IMAGES_AS | “Format of images” property key. |
| AUTHOR | “Author” property value. |
| TITLE | “Title” property value. |
| SUBJECT | “Subject” property value. |
| KEYWORDS | “Keywords” property value. |
| EMIT_WARNINGS | “Emit warnings” property value. |
| EMIT_ERRORS | “Emit errors” property value. |
Methods
| Method | Description |
|---|---|
| open_page | Makes necessary preparation of the device before page rendering. |
| open_page | Makes necessary preparation of the device before each page rendering. |
| init_page_numbers | Initializes numbers of pages to output. |
| close_page | Makes necessary preparation of the device after page has been rendered. |
| update_page_parameters | Updates page parameters from other multi-paged device. |
See Also
- module
aspose.page.eps.device - class
Device - class
PdfDevice