Search
IGraphics Members
Properties Methods
 


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.

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

For internal use.

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

Draws a point at the specified coordinates.

DrawRectangle

Overloaded. Draws a rectangle.

DrawString

Overloaded. Draws a string.

EndHyperLink

For internal use.

FillEllipse

Overloaded. Fills an ellipse.

FillPath

Fills the interior of an IGraphicsPath object.

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.

TranslateTransform

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

 See Also