Search
IGraphics Members
Properties Methods Events
 


Represents a platform-independent object that can be used to perform drawing.

The following tables list the members exposed by the IGraphics type.

 Public Properties

  Name Description

DpiX

Gets or sets the horizontal resolution of this IGraphics object.

DpiY

Gets or sets the vertical resolution of this IGraphics object.

EnableAntialiasing

 

SupportsPenWidth0

Gets a value indicating whether the IGraphics object supports pens with zero width.

Transform

Gets the transformation for this IGraphics object.

 Public Methods

  Name Description

BeginHyperLink

 

ClipImage

Overloaded.  

CreateImage

Creates an image from the current drawing associated with this IGraphics object.

DrawArc

Overloaded. Draws an arc.

DrawBezier

Draws a Bézier spline defined by four Point structures.

DrawBeziers

Draws a series of Bézier splines from an array of Point structures.

DrawCurve

Draws a curve from an array of Point structures.

DrawEllipse

Overloaded. Draws an ellipse.

DrawImage

Overloaded. Draws an image.

DrawLine

Overloaded. Draws a line.

DrawLines

Draws a series of line segments that connect an array of Point structures.

DrawPath

Draws an IGraphicsPath object.

DrawPoint

Overloaded.  

DrawPolygon

Draws a polygon specified by a poins list.

DrawRectangle

Overloaded. Draws a rectangle.

DrawString

Overloaded. Draws a text string.

EndHyperLink

 

FillEllipse

Overloaded. Fills the interior of an ellipse.

FillPath

Fills the interior of an IGraphicsPath object.

FillPolygon

Fills the interior of a polygon specified by a points list.

FillRectangle

Overloaded. Fills the interior of a rectangle.

GetFontHeight

Gets the height of the specified font.

GetImageSize

Returns the physical size of the specified image.

MeasureString

Overloaded. Measures a string.

ResetTransform

Resets the transformation matrix of this IGraphics object to the identity matrix.

Restore

Restores the state of this IGraphics object to the specified state.

RotateTransform

Prepends the specified rotation to the transformation matrix of this IGraphics object.

Save

Saves the current state of this IGraphics object.

ScaleTransform

Prepends the specified scaling operation to the transformation matrix of this IGraphics.

SetClip

Overloaded. Sets the clipping region of this IGraphics object.

TranslateTransform

Prepends the specified translation to the transformation matrix of this IGraphics object.

 Public Events

  Name Description

ImageReady

 

 See Also