Class PdfDevice
PdfDevice class
Class incapsulating image composing device.
[Obsolete("PdfDevice class is deprecated beginning from 24.3. Please use SaveAsPdf method in XpsDocument class instead. In 24.6 this class will be entirely hidden")]
public class PdfDevice : Device, IMultiPageDevice
Constructors
| Name | Description |
|---|
| PdfDevice(Stream) | Creates the new instance. |
| PdfDevice(Stream, Size) | Creates the new instance with specified media size. |
Properties
| Name | Description |
|---|
| virtual CurrentPageNumber { get; } | Returns the absolute number of the current page withint the document. |
| virtual CurrentRelativePageNumber { get; } | Returns the number of the current page within the current partititon. |
Methods
| Name | Description |
|---|
| virtual AddOutline(int, string) | Adds an outline item with the last object as its target. |
| virtual AddOutline(PointF, int, string) | Adds an outline item with the origin point as its target. |
| virtual ClosePage() | Accomplishes the page. |
| virtual ClosePartition() | Accomplished the document partition. |
| InitPageNumbers() | Initializes numbers of pages to output. |
| virtual OpenPage(string) | Starts a new page with the specifies title. |
| virtual OpenPage(float, float) | Starts a new page with the specified width and height. |
| virtual OpenPartition() | Starts a new document partition. |
| virtual SetHyperlinkTarget(int) | Sets the hyperlink with a page number as its target. |
| virtual SetHyperlinkTarget(string) | Sets the hyperlink with an external URI as its target. |
| override ToString() | Returns the name of device type. |
| virtual UpdatePageParameters(IMultiPageDevice) | Updates the current page parameters. |
See Also