ImageDevice Class

ImageDevice class

Represents rendering to raster formats: jpeg, png, bmp, gif, tiff.

public class ImageDevice : Device<ImageGraphicContext, ImageRenderingOptions>

Constructors

NameDescription
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

NameDescription
getGraphicContext
getOptions

Methods

NameDescription
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

NameDescription
class ImageGraphicContextHolds current graphics control parameters for the ImageDevice. These parameters define the global framework within which the graphics operators execute.

See Also