ImageDevice Class
Contents
[
Hide
]ImageDevice class
Represents rendering to raster formats: jpeg, png, bmp, gif, tiff.
public class ImageDevice : Device<ImageGraphicContext, ImageRenderingOptions>
Constructors
| Name | Description |
|---|---|
| ImageDevice(ICreateStreamProvider) | Initializes a new instance of the ImageDevice class. |
| ImageDevice(Stream) | Initializes a new instance of the ImageDevice class. |
| ImageDevice(string) | Initializes a new instance of the ImageDevice class. |
| ImageDevice(ImageRenderingOptions, ICreateStreamProvider) | Initializes a new instance of the ImageDevice class by rendering options and stream provider. |
| ImageDevice(ImageRenderingOptions, Stream) | Initializes a new instance of the ImageDevice class by rendering options and output stream. |
| ImageDevice(ImageRenderingOptions, string) | Initializes a new instance of the ImageDevice 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 ImageGraphicContext | Holds current graphics control parameters for the ImageDevice. These parameters define the global framework within which the graphics operators execute. |
See Also
- class Device<TGraphicContext,TRenderingOptions>
- class ImageGraphicContext
- class ImageRenderingOptions
- namespace Aspose.Html.Rendering.Image
- assembly Aspose.HTML