Class ImageDevice
Namespace: Aspose.Html.Rendering.Image
Assembly: Aspose.HTML.dll (25.2.0)
Represents rendering to raster formats: jpeg, png, bmp, gif, tiff.
[ComVisible(true)]
public class ImageDevice : Device<imagedevice.imagegraphiccontext, imagerenderingoptions="">, IDevice, IDisposable
Inheritance
object ← Device ← Device<imagedevice.imagegraphiccontext, imagerenderingoptions=""> ← ImageDevice
Implements
Inherited Members
Device<imagedevice.imagegraphiccontext, imagerenderingoptions="">.Initialize(), Device<imagedevice.imagegraphiccontext, imagerenderingoptions="">.SaveGraphicContext(), Device<imagedevice.imagegraphiccontext, imagerenderingoptions="">.RestoreGraphicContext(), Device<imagedevice.imagegraphiccontext, imagerenderingoptions="">.GetExtension(), Device<imagedevice.imagegraphiccontext, imagerenderingoptions="">.BeginDocument(Document), Device<imagedevice.imagegraphiccontext, imagerenderingoptions="">.EndDocument(), Device<imagedevice.imagegraphiccontext, imagerenderingoptions="">.BeginPage(SizeF), Device<imagedevice.imagegraphiccontext, imagerenderingoptions="">.EndPage(), Device<imagedevice.imagegraphiccontext, imagerenderingoptions="">.Flush(), Device<imagedevice.imagegraphiccontext, imagerenderingoptions="">.BeginElement(Element, RectangleF), Device<imagedevice.imagegraphiccontext, imagerenderingoptions="">.EndElement(Element), Device<imagedevice.imagegraphiccontext, imagerenderingoptions="">.ClosePath(), Device<imagedevice.imagegraphiccontext, imagerenderingoptions="">.MoveTo(PointF), Device<imagedevice.imagegraphiccontext, imagerenderingoptions="">.LineTo(PointF), Device<imagedevice.imagegraphiccontext, imagerenderingoptions="">.AddRect(RectangleF), Device<imagedevice.imagegraphiccontext, imagerenderingoptions="">.CubicBezierTo(PointF, PointF, PointF), Device<imagedevice.imagegraphiccontext, imagerenderingoptions="">.Stroke(), Device<imagedevice.imagegraphiccontext, imagerenderingoptions="">.Fill(FillRule), Device<imagedevice.imagegraphiccontext, imagerenderingoptions="">.Clip(FillRule), Device<imagedevice.imagegraphiccontext, imagerenderingoptions="">.StrokeAndFill(FillRule), Device<imagedevice.imagegraphiccontext, imagerenderingoptions="">.FillText(string, PointF), Device<imagedevice.imagegraphiccontext, imagerenderingoptions="">.StrokeText(string, PointF), Device<imagedevice.imagegraphiccontext, imagerenderingoptions="">.DrawImage(byte[], WebImageFormat, RectangleF), Device<imagedevice.imagegraphiccontext, imagerenderingoptions="">.Dispose(), Device<imagedevice.imagegraphiccontext, imagerenderingoptions="">.Dispose(bool), Device<imagedevice.imagegraphiccontext, imagerenderingoptions="">.Options, Device<imagedevice.imagegraphiccontext, imagerenderingoptions="">.Configuration, Device<imagedevice.imagegraphiccontext, imagerenderingoptions="">.GraphicContext, Device<imagedevice.imagegraphiccontext, imagerenderingoptions="">.StreamProvider, Device<imagedevice.imagegraphiccontext, imagerenderingoptions="">.OutputStream, Device<imagedevice.imagegraphiccontext, imagerenderingoptions="">.PageIndex, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
ImageDevice(ICreateStreamProvider)
Initializes a new instance of the Aspose.Html.Rendering.Image.ImageDevice class.
public ImageDevice(ICreateStreamProvider streamProvider)
Parameters
streamProvider
ICreateStreamProvider
The stream provider.
ImageDevice(ImageRenderingOptions, ICreateStreamProvider)
Initializes a new instance of the Aspose.Html.Rendering.Image.ImageDevice class by rendering options and stream provider.
public ImageDevice(ImageRenderingOptions options, ICreateStreamProvider streamProvider)
Parameters
options
ImageRenderingOptions
Rendering options.
streamProvider
ICreateStreamProvider
Object that implements the Aspose.Html.IO.ICreateStreamProvider interface
ImageDevice(string)
Initializes a new instance of the Aspose.Html.Rendering.Image.ImageDevice class.
public ImageDevice(string file)
Parameters
file
string
The output file name.
ImageDevice(ImageRenderingOptions, string)
Initializes a new instance of the Aspose.Html.Rendering.Image.ImageDevice class by rendering options and output file name.
public ImageDevice(ImageRenderingOptions options, string file)
Parameters
options
ImageRenderingOptions
Rendering options.
file
string
The output file name.
ImageDevice(Stream)
Initializes a new instance of the Aspose.Html.Rendering.Image.ImageDevice class.
public ImageDevice(Stream stream)
Parameters
stream
Stream
The stream.
ImageDevice(ImageRenderingOptions, Stream)
Initializes a new instance of the Aspose.Html.Rendering.Image.ImageDevice class by rendering options and output stream.
public ImageDevice(ImageRenderingOptions options, Stream stream)
Parameters
options
ImageRenderingOptions
Rendering options.
stream
Stream
The output stream. </imagedevice.imagegraphiccontext,></imagedevice.imagegraphiccontext,></imagedevice.imagegraphiccontext,></imagedevice.imagegraphiccontext,></imagedevice.imagegraphiccontext,></imagedevice.imagegraphiccontext,></imagedevice.imagegraphiccontext,></imagedevice.imagegraphiccontext,></imagedevice.imagegraphiccontext,></imagedevice.imagegraphiccontext,></imagedevice.imagegraphiccontext,></imagedevice.imagegraphiccontext,></imagedevice.imagegraphiccontext,></imagedevice.imagegraphiccontext,></imagedevice.imagegraphiccontext,></imagedevice.imagegraphiccontext,></imagedevice.imagegraphiccontext,></imagedevice.imagegraphiccontext,></imagedevice.imagegraphiccontext,></imagedevice.imagegraphiccontext,></imagedevice.imagegraphiccontext,></imagedevice.imagegraphiccontext,></imagedevice.imagegraphiccontext,></imagedevice.imagegraphiccontext,></imagedevice.imagegraphiccontext,></imagedevice.imagegraphiccontext,></imagedevice.imagegraphiccontext,></imagedevice.imagegraphiccontext,></imagedevice.imagegraphiccontext,></imagedevice.imagegraphiccontext,></imagedevice.imagegraphiccontext,></imagedevice.imagegraphiccontext,></imagedevice.imagegraphiccontext,>