XpsDevice Class
Contents
[
Hide
]XpsDevice class
Represents rendering to a xps document.
public class XpsDevice : Device<XpsGraphicContext, XpsRenderingOptions>
Constructors
| Name | Description |
|---|---|
| XpsDevice(ICreateStreamProvider) | Initializes a new instance of the XpsDevice class. |
| XpsDevice(Stream) | Initializes a new instance of the XpsDevice class. |
| XpsDevice(String) | Initializes a new instance of the XpsDevice class. |
| XpsDevice(XpsRenderingOptions, ICreateStreamProvider) | Initializes a new instance of the XpsDevice class by rendering options and stream provider. |
| XpsDevice(XpsRenderingOptions, Stream) | Initializes a new instance of the XpsDevice class by rendering options and output stream. |
| XpsDevice(XpsRenderingOptions, String) | Initializes a new instance of the XpsDevice class by rendering options and output file name. |
Properties
| Name | Description |
|---|---|
| getGraphicContext | |
| getOptions |
Methods
| Name | Description |
|---|---|
| addRect(RectangleF) | |
| beginDocument(Document) | |
| beginElement(Element, RectangleF) | |
| beginPage(SizeF) | |
| clip(FillRule) | |
| closePath() | |
| cubicBezierTo(PointF, PointF, PointF) | |
| dispose() | |
| drawImage(byte[], WebImageFormat, RectangleF) | |
| endDocument() | |
| endElement(Element) | |
| endPage() | |
| fill(FillRule) | |
| fillText(String, PointF) | |
| flush() | |
| lineTo(PointF) | |
| moveTo(PointF) | |
| restoreGraphicContext() | |
| saveGraphicContext() | |
| stroke() | |
| strokeAndFill(FillRule) | |
| strokeText(String, PointF) |
Other Members
| Name | Description |
|---|---|
| class XpsGraphicContext | Holds current graphics control parameters for the XpsDevice. These parameters define the global framework within which the graphics operators execute. |
See Also
- class Device<TGraphicContext,TRenderingOptions>
- class XpsGraphicContext
- class XpsRenderingOptions
- package com.aspose.html.rendering.xps
- package Aspose.HTML