ImageDevice class
ImageDevice class
This class encapsulates rendering of document to image.
Inheritance: ImageDevice
→
Device
The ImageDevice type exposes the following members:
Constructors
Constructor | Description |
---|---|
init | Initializes new instance of ImageDevice . |
init | Initializes new instance of ImageDevice with specified size of a page. |
init | Initializes new instance of ImageDevice with specified image format. |
init | Initializes new instance of ImageDevice with specified size of a page and image format. |
Properties
Property | Description |
---|---|
current_page_number | Current page number. |
images_bytes | Returns resulting images in bytes, one byte array for one page. |
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. |
EMIT_WARNINGS | “Emit warnings” property value. |
EMIT_ERRORS | “Emit errors” property value. |
PRODUCER | “Producer” 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
ImageDevice