Class Device

Device class

Implements the interface for outputting text and graphic content to abstract device. Rendering is performed page by page.

public abstract class Device

Constructors

NameDescription
Device()Creates a new instance.

Properties

NameDescription
abstract DestinationName { get; }Gets destination name: output file name or device description.
virtual Fill { get; set; }Gets/sets the current fill.
virtual FillOpacity { get; set; }Gets/sets the current fill opacity.
abstract IsReady { get; }Shows if device is ready for output.
abstract PageCount { get; }Gets the number of pages.
virtual Stroke { get; set; }Gets/sets the current stroke.
virtual StrokeOpacity { get; set; }Gets/sets the current stroke opacity.

Methods

NameDescription
abstract AddHyperlink(RectangleF, Pen, string)Sets the hyperlink with a URI as its target.
virtual Create()Creates a copy of this device.
virtual Dispose()Disposes the device.
abstract DrawPath(GraphicsPath)Draws a path.
abstract DrawString(string, float, float, List<GlyphData>)Draws a text string.
abstract EndDocument()Finalizes the whole document.
abstract EndPage()Finalizes a page.
abstract FillPath(GraphicsPath)Fills a path.
abstract Initialize()Initializes the device.
abstract SetClip(GraphicsPath)Sets the current clip path.
abstract SetTransform(Matrix)Sets the current coordinate space transformation.
abstract ShowImage(PointF, SizeF, byte[])Shows a raster image.
abstract StartDocument()Starts the whole document.
abstract StartPage(float, float)Starts a new page.

See Also