PdfDevice class
PdfDevice class
Implements the interface for outputting text and graphic content to PDF document.
Inheritance: PdfDevice
→
Device
The PdfDevice type exposes the following members:
Constructors
Constructor | Description |
---|---|
init | Creates a new instance. The output file will be written to the output working directory taking the job name as a file name. |
init | Creates a new instance. The output file will be written to specified stream. |
Properties
Property | Description |
---|---|
page_count | Gets the number of pages. |
is_ready | Shows if device is ready for output. |
destination_name | Gets destination name: output file name or device description. |
stroke | Gets/sets the current stroke. |
fill | Gets/sets the current fill. |
stroke_opacity | Gets/sets the current stroke opacity. |
fill_opacity | Gets/sets the current fill opacity. |
Methods
Method | Description |
---|---|
initialize | Initializes the device. |
create | Creates a copy of this device. |
dispose | Disposes this device instance. Finalizes this device instance graphics state, i.e. switches APS composing context to the ApsCanvas of the level higher then this device’s graphics state ApsCanvas. |
start_document | Starts the whole document. |
end_document | Finalizes the whole document. |
start_page | Starts a new page. |
end_page | Finalizes a page. |
add_hyperlink | Set the hyperlink with a URI as its target. |
set_transform | Sets the current coordinate space transformation. |
set_clip | Sets the current clip path. |
draw_string | |
draw_path | Draws a path. |
fill_path | Fill a path. |
show_image | Shows a raster image. |
add_bookmark | Adds the bookmark identified by the name. |
start_fragment | Starts a fragment to rasterize. |
end_fragment | Ends a fragment to rasterize. |
See Also
- module
aspose.tex.presentation.pdf
- class
Device
- class
PdfDevice