PdfDevice Class
Contents
[
Hide
]PdfDevice class
Represents rendering to a pdf document.
public class PdfDevice : Device<PdfGraphicContext, PdfRenderingOptions>
Constructors
| Name | Description |
|---|---|
| PdfDevice(ICreateStreamProvider) | Initializes a new instance of the PdfDevice class. |
| PdfDevice(Stream) | Initializes a new instance of the PdfDevice class. |
| PdfDevice(string) | Initializes a new instance of the PdfDevice class. |
| PdfDevice(PdfRenderingOptions, ICreateStreamProvider) | Initializes a new instance of the PdfDevice class by rendering options and stream provider. |
| PdfDevice(PdfRenderingOptions, Stream) | Initializes a new instance of the PdfDevice class by rendering options and output stream. |
| PdfDevice(PdfRenderingOptions, string) | Initializes a new instance of the PdfDevice class by rendering options and output file name. |
Properties
| Name | Description |
|---|---|
| GraphicContext { get; } | |
| Options { get; } | |
| virtual Configuration { get; } | |
| OutputStream { get; } | |
| StreamProvider { get; } |
Methods
| Name | Description |
|---|---|
| virtual AddRect(RectangleF) | |
| virtual BeginDocument(Document) | |
| virtual BeginElement(Element, RectangleF) | |
| virtual BeginPage(SizeF) | |
| virtual Clip(FillRule) | |
| virtual ClosePath() | |
| virtual CubicBezierTo(PointF, PointF, PointF) | |
| Dispose() | |
| virtual DrawImage(byte[], WebImageFormat, RectangleF) | |
| virtual EndDocument() | |
| virtual EndElement(Element) | |
| virtual EndPage() | |
| virtual Fill(FillRule) | |
| virtual FillText(string, PointF) | |
| virtual Flush() | |
| virtual LineTo(PointF) | |
| virtual MoveTo(PointF) | |
| virtual RestoreGraphicContext() | |
| virtual SaveGraphicContext() | |
| virtual Stroke() | |
| virtual StrokeAndFill(FillRule) | |
| virtual StrokeText(string, PointF) |
Other Members
| Name | Description |
|---|---|
| class PdfGraphicContext | Holds current graphics control parameters for the PdfDevice. These parameters define the global framework within which the graphics operators execute. |
See Also
- class Device<TGraphicContext,TRenderingOptions>
- class PdfGraphicContext
- class PdfRenderingOptions
- namespace Aspose.Svg.Rendering.Pdf
- assembly Aspose.SVG