Graphics
Encapsulates a GDI+ drawing surface. This class cannot be inherited.
                
Provides a callback method for deciding when the  DrawImage method should prematurely cancel execution and stop drawing an image.
Provides a callback method for the  EnumerateMetafile method.
Gets a  RectangleF structure that bounds the clipping region of this  Graphics.
Gets a value that specifies how composited images are drawn to this  Graphics.
Gets or sets the rendering quality of composited images drawn to this  Graphics.
Gets the horizontal resolution of this  Graphics.
Gets the vertical resolution of this  Graphics.
Gets or sets the interpolation mode associated with this  Graphics.
Gets a value indicating whether the clipping region of this  Graphics is empty.
Gets a value indicating whether the visible clipping region of this  Graphics is empty.
Gets or sets the scaling between world units and page units for this  Graphics.
Gets or sets the unit of measure used for page coordinates in this  Graphics.
Gets or sets a value specifying how pixels are offset during rendering of this  Graphics.
Gets or sets the rendering origin of this  Graphics for dithering and for hatch brushes.
Gets or sets the rendering quality for this  Graphics.
Gets or sets the gamma correction value for rendering text.
Gets or sets the rendering mode for text associated with this  Graphics.
Gets or sets a copy of the geometric world transformation for this  Graphics.
Gets the bounding rectangle of the visible clipping region of this  Graphics.
Creates a new  Graphics from the specified handle to a device context.
Creates a new  Graphics from the specified handle to a device context and handle to a device.
Returns a  Graphics for the specified device context.
Creates a new  Graphics from the specified handle to a window.
Creates a new  Graphics for the specified windows handle.
Gets a handle to the current Windows halftone palette.
Adds a comment to the current  Metafile.
Saves a graphics container with the current state of this  Graphics and opens and uses a new graphics container.
Saves a graphics container with the current state of this  Graphics and opens and uses a new graphics container with the specified scale transformation.
Saves a graphics container with the current state of this  Graphics and opens and uses a new graphics container with the specified scale transformation.
Clears the entire drawing surface and fills it with the specified background color.
Performs a bit-block transfer of color data, corresponding to a rectangle of pixels, from the screen to the drawing surface of the  Graphics.
public void CopyFromScreen(Point upperLeftSource, Point upperLeftDestination, Size blockRegionSize, CopyPixelOperation copyPixelOperation)
Performs a bit-block transfer of color data, corresponding to a rectangle of pixels, from the screen to the drawing surface of the  Graphics.
public void CopyFromScreen(int sourceX, int sourceY, int destinationX, int destinationY, Size blockRegionSize)
Performs a bit-block transfer of the color data, corresponding to a rectangle of pixels, from the screen to the drawing surface of the  Graphics.
public void CopyFromScreen(int sourceX, int sourceY, int destinationX, int destinationY, Size blockRegionSize, CopyPixelOperation copyPixelOperation)
Performs a bit-block transfer of the color data, corresponding to a rectangle of pixels, from the screen to the drawing surface of the  Graphics.
Releases all resources used by this  Graphics.
Draws an arc representing a portion of an ellipse specified by a  Rectangle structure.
Draws an arc representing a portion of an ellipse specified by a  RectangleF structure.
Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height.
public void DrawArc(Pen pen, float x, float y, float width, float height, float startAngle, float sweepAngle)
Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height.
Draws a Bézier spline defined by four  Point structures.
Draws a Bézier spline defined by four  PointF structures.
public void DrawBezier(Pen pen, float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4)
Draws a Bézier spline defined by four ordered pairs of coordinates that represent points.
Draws a series of Bézier splines from an array of  structures.
Draws a series of Bézier splines from an array of  Point structures.
Draws a closed cardinal spline defined by an array of  structures.
Draws a closed cardinal spline defined by an array of  PointF structures using a specified tension.
Draws a closed cardinal spline defined by an array of  structures.
Draws a closed cardinal spline defined by an array of  structures using a specified tension.
Draws a cardinal spline through a specified array of  structures.
Draws a cardinal spline through a specified array of  structures. The drawing begins offset from the beginning of the array.
Draws a cardinal spline through a specified array of  structures using a specified tension. The drawing begins offset from the beginning of the array.
Draws a cardinal spline through a specified array of  structures using a specified tension.
Draws a cardinal spline through a specified array of  structures.
Draws a cardinal spline through a specified array of  Point structures using a specified tension.
Draws a cardinal spline through a specified array of  structures using a specified tension.
Draws an ellipse specified by a bounding  Rectangle structure.
Draws an ellipse defined by a bounding  RectangleF.
Draws an ellipse defined by a bounding rectangle specified by coordinates for the upper-left corner of the rectangle, a height, and a width.
Draws an ellipse defined by a bounding rectangle specified by a pair of coordinates, a height, and a width.
Draws the image represented by the specified  Icon within the area specified by a  Rectangle structure.
Draws the image represented by the specified  Icon at the specified coordinates.
Draws the image represented by the specified  Icon without scaling the image.
Draws the specified  Image, using its original physical size, at the specified location.
Draws the specified  Image, using its original physical size, at the specified location.
Draws the specified  Image at the specified location and with the specified shape and size.
Draws the specified portion of the specified  Image at the specified location and with the specified size.
public void DrawImage(Image image, PointF[] destPoints, RectangleF srcRect, GraphicsUnit srcUnit, ImageAttributes imageAttr)
Draws the specified portion of the specified  Image at the specified location and with the specified size.
public void DrawImage(Image image, PointF[] destPoints, RectangleF srcRect, GraphicsUnit srcUnit, ImageAttributes imageAttr, DrawImageAbort callback)
Draws the specified portion of the specified  Image at the specified location and with the specified size.
public void DrawImage(Image image, PointF[] destPoints, RectangleF srcRect, GraphicsUnit srcUnit, ImageAttributes imageAttr, DrawImageAbort callback, int callbackData)
Draws the specified portion of the specified  Image at the specified location and with the specified size.
Draws the specified  Image at the specified location and with the specified shape and size.
Draws the specified portion of the specified  Image at the specified location and with the specified size.
public void DrawImage(Image image, Point[] destPoints, Rectangle srcRect, GraphicsUnit srcUnit, ImageAttributes imageAttr)
Draws the specified portion of the specified  Image at the specified location.
public void DrawImage(Image image, Point[] destPoints, Rectangle srcRect, GraphicsUnit srcUnit, ImageAttributes imageAttr, DrawImageAbort callback)
Draws the specified portion of the specified  Image at the specified location and with the specified size.
public void DrawImage(Image image, Point[] destPoints, Rectangle srcRect, GraphicsUnit srcUnit, ImageAttributes imageAttr, DrawImageAbort callback, int callbackData)
Draws the specified portion of the specified  Image at the specified location and with the specified size.
Draws the specified  Image at the specified location and with the specified size.
Draws the specified portion of the specified  Image at the specified location and with the specified size.
public void DrawImage(Image image, Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, GraphicsUnit srcUnit)
Draws the specified portion of the specified  Image at the specified location and with the specified size.
public void DrawImage(Image image, Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttr)
Draws the specified portion of the specified  Image at the specified location and with the specified size.
public void DrawImage(Image image, Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttr, DrawImageAbort callback)
Draws the specified portion of the specified  Image at the specified location and with the specified size.
public void DrawImage(Image image, Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttrs, DrawImageAbort callback, IntPtr callbackData)
Draws the specified portion of the specified  Image at the specified location and with the specified size.
public void DrawImage(Image image, Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, GraphicsUnit srcUnit)
Draws the specified portion of the specified  Image at the specified location and with the specified size.
public void DrawImage(Image image, Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttrs)
Draws the specified portion of the specified  Image at the specified location and with the specified size.
public void DrawImage(Image image, Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttrs, DrawImageAbort callback)
Draws the specified portion of the specified  Image at the specified location and with the specified size.
public void DrawImage(Image image, Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttrs, DrawImageAbort callback, IntPtr callbackData)
Draws the specified portion of the specified  Image at the specified location and with the specified size.
Draws the specified  Image at the specified location and with the specified size.
Draws the specified portion of the specified  Image at the specified location and with the specified size.
Draws the specified image, using its original physical size, at the location specified by a coordinate pair.
Draws a portion of an image at a specified location.
Draws the specified  Image at the specified location and with the specified size.
Draws the specified  Image, using its original physical size, at the specified location.
Draws a portion of an image at a specified location.
Draws the specified  Image at the specified location and with the specified size.
Draws a specified image using its original physical size at a specified location.
Draws a specified image using its original physical size at a specified location.
Draws the specified image using its original physical size at the location specified by a coordinate pair.
Draws a specified image using its original physical size at a specified location.
Draws the specified image without scaling and clips it, if necessary, to fit in the specified rectangle.
Draws a line connecting two  Point structures.
Draws a line connecting two  PointF structures.
Draws a line connecting the two points specified by the coordinate pairs.
Draws a line connecting the two points specified by the coordinate pairs.
Draws a series of line segments that connect an array of  structures.
Draws a series of line segments that connect an array of  Point structures.
Draws a  GraphicsPath.
Draws a pie shape defined by an ellipse specified by a  Rectangle structure and two radial lines.
Draws a pie shape defined by an ellipse specified by a  RectangleF structure and two radial lines.
Draws a pie shape defined by an ellipse specified by a coordinate pair, a width, a height, and two radial lines.
public void DrawPie(Pen pen, float x, float y, float width, float height, float startAngle, float sweepAngle)
Draws a pie shape defined by an ellipse specified by a coordinate pair, a width, a height, and two radial lines.
Draws a polygon defined by an array of  structures.
Draws a polygon defined by an array of  Point structures.
Draws a rectangle specified by a  Rectangle structure.
Draws a rectangle specified by a coordinate pair, a width, and a height.
Draws a rectangle specified by a coordinate pair, a width, and a height.
Draws a series of rectangles specified by  structures.
Draws a series of rectangles specified by  Rectangle structures.
Draws the specified text string at the specified location with the specified  Brush and  Font objects.
Draws the specified text string at the specified location with the specified  Brush and  Font objects using the formatting attributes of the specified  StringFormat.
Draws the specified text string in the specified rectangle with the specified  Brush and  Font objects.
public void DrawString(string s, Font font, Brush brush, RectangleF layoutRectangle, StringFormat format)
Draws the specified text string in the specified rectangle with the specified  Brush and  Font objects using the formatting attributes of the specified  StringFormat.
Draws the specified text string at the specified location with the specified  Brush and  Font objects.
Draws the specified text string at the specified location with the specified  Brush and  Font objects using the formatting attributes of the specified  StringFormat.
Closes the current graphics container and restores the state of this  Graphics to the state saved by a call to the  BeginContainer method.
Sends the records in the specified  Metafile, one at a time, to a callback method for display at a specified point.
public void EnumerateMetafile(Metafile metafile, Point destPoint, EnumerateMetafileProc callback, IntPtr callbackData)
Sends the records in the specified  Metafile, one at a time, to a callback method for display at a specified point.
public void EnumerateMetafile(Metafile metafile, Point destPoint, EnumerateMetafileProc callback, IntPtr callbackData, ImageAttributes imageAttr)
Sends the records in the specified  Metafile, one at a time, to a callback method for display at a specified point using specified image attributes.
public void EnumerateMetafile(Metafile metafile, Point destPoint, Rectangle srcRect, GraphicsUnit srcUnit, EnumerateMetafileProc callback)
Sends the records in a selected rectangle from a  Metafile, one at a time, to a callback method for display at a specified point.
public void EnumerateMetafile(Metafile metafile, Point destPoint, Rectangle srcRect, GraphicsUnit srcUnit, EnumerateMetafileProc callback, IntPtr callbackData)
Sends the records in a selected rectangle from a  Metafile, one at a time, to a callback method for display at a specified point.
public void EnumerateMetafile(Metafile metafile, Point destPoint, Rectangle srcRect, GraphicsUnit unit, EnumerateMetafileProc callback, IntPtr callbackData, ImageAttributes imageAttr)
Sends the records in a selected rectangle from a  Metafile, one at a time, to a callback method for display at a specified point using specified image attributes.
Sends the records in the specified  Metafile, one at a time, to a callback method for display at a specified point.
public void EnumerateMetafile(Metafile metafile, PointF destPoint, EnumerateMetafileProc callback, IntPtr callbackData)
Sends the records in the specified  Metafile, one at a time, to a callback method for display at a specified point.
public void EnumerateMetafile(Metafile metafile, PointF destPoint, EnumerateMetafileProc callback, IntPtr callbackData, ImageAttributes imageAttr)
Sends the records in the specified  Metafile, one at a time, to a callback method for display at a specified point using specified image attributes.
public void EnumerateMetafile(Metafile metafile, PointF destPoint, RectangleF srcRect, GraphicsUnit srcUnit, EnumerateMetafileProc callback)
Sends the records in a selected rectangle from a  Metafile, one at a time, to a callback method for display at a specified point.
public void EnumerateMetafile(Metafile metafile, PointF destPoint, RectangleF srcRect, GraphicsUnit srcUnit, EnumerateMetafileProc callback, IntPtr callbackData)
Sends the records in a selected rectangle from a  Metafile, one at a time, to a callback method for display at a specified point.
public void EnumerateMetafile(Metafile metafile, PointF destPoint, RectangleF srcRect, GraphicsUnit unit, EnumerateMetafileProc callback, IntPtr callbackData, ImageAttributes imageAttr)
Sends the records in a selected rectangle from a  Metafile, one at a time, to a callback method for display at a specified point using specified image attributes.
public void EnumerateMetafile(Metafile metafile, PointF[] destPoints, EnumerateMetafileProc callback)
Sends the records in the specified  Metafile, one at a time, to a callback method for display in a specified parallelogram.
public void EnumerateMetafile(Metafile metafile, PointF[] destPoints, EnumerateMetafileProc callback, IntPtr callbackData)
Sends the records in the specified  Metafile, one at a time, to a callback method for display in a specified parallelogram.
public void EnumerateMetafile(Metafile metafile, PointF[] destPoints, EnumerateMetafileProc callback, IntPtr callbackData, ImageAttributes imageAttr)
Sends the records in the specified  Metafile, one at a time, to a callback method for display in a specified parallelogram using specified image attributes.
public void EnumerateMetafile(Metafile metafile, PointF[] destPoints, RectangleF srcRect, GraphicsUnit srcUnit, EnumerateMetafileProc callback)
Sends the records in a selected rectangle from a  Metafile, one at a time, to a callback method for display in a specified parallelogram.
public void EnumerateMetafile(Metafile metafile, PointF[] destPoints, RectangleF srcRect, GraphicsUnit srcUnit, EnumerateMetafileProc callback, IntPtr callbackData)
Sends the records in a selected rectangle from a  Metafile, one at a time, to a callback method for display in a specified parallelogram.
public void EnumerateMetafile(Metafile metafile, PointF[] destPoints, RectangleF srcRect, GraphicsUnit unit, EnumerateMetafileProc callback, IntPtr callbackData, ImageAttributes imageAttr)
Sends the records in a selected rectangle from a  Metafile, one at a time, to a callback method for display in a specified parallelogram using specified image attributes.
public void EnumerateMetafile(Metafile metafile, Point[] destPoints, EnumerateMetafileProc callback)
Sends the records in the specified  Metafile, one at a time, to a callback method for display in a specified parallelogram.
public void EnumerateMetafile(Metafile metafile, Point[] destPoints, EnumerateMetafileProc callback, IntPtr callbackData)
Sends the records in the specified  Metafile, one at a time, to a callback method for display in a specified parallelogram.
public void EnumerateMetafile(Metafile metafile, Point[] destPoints, EnumerateMetafileProc callback, IntPtr callbackData, ImageAttributes imageAttr)
Sends the records in the specified  Metafile, one at a time, to a callback method for display in a specified parallelogram using specified image attributes.
public void EnumerateMetafile(Metafile metafile, Point[] destPoints, Rectangle srcRect, GraphicsUnit srcUnit, EnumerateMetafileProc callback)
Sends the records in a selected rectangle from a  Metafile, one at a time, to a callback method for display in a specified parallelogram.
public void EnumerateMetafile(Metafile metafile, Point[] destPoints, Rectangle srcRect, GraphicsUnit srcUnit, EnumerateMetafileProc callback, IntPtr callbackData)
Sends the records in a selected rectangle from a  Metafile, one at a time, to a callback method for display in a specified parallelogram.
public void EnumerateMetafile(Metafile metafile, Point[] destPoints, Rectangle srcRect, GraphicsUnit unit, EnumerateMetafileProc callback, IntPtr callbackData, ImageAttributes imageAttr)
Sends the records in a selected rectangle from a  Metafile, one at a time, to a callback method for display in a specified parallelogram using specified image attributes.
public void EnumerateMetafile(Metafile metafile, Rectangle destRect, EnumerateMetafileProc callback)
Sends the records of the specified  Metafile, one at a time, to a callback method for display in a specified rectangle.
public void EnumerateMetafile(Metafile metafile, Rectangle destRect, EnumerateMetafileProc callback, IntPtr callbackData)
Sends the records of the specified  Metafile, one at a time, to a callback method for display in a specified rectangle.
public void EnumerateMetafile(Metafile metafile, Rectangle destRect, EnumerateMetafileProc callback, IntPtr callbackData, ImageAttributes imageAttr)
Sends the records of the specified  Metafile, one at a time, to a callback method for display in a specified rectangle using specified image attributes.
public void EnumerateMetafile(Metafile metafile, Rectangle destRect, Rectangle srcRect, GraphicsUnit srcUnit, EnumerateMetafileProc callback)
Sends the records of a selected rectangle from a  Metafile, one at a time, to a callback method for display in a specified rectangle.
public void EnumerateMetafile(Metafile metafile, Rectangle destRect, Rectangle srcRect, GraphicsUnit srcUnit, EnumerateMetafileProc callback, IntPtr callbackData)
Sends the records of a selected rectangle from a  Metafile, one at a time, to a callback method for display in a specified rectangle.
public void EnumerateMetafile(Metafile metafile, Rectangle destRect, Rectangle srcRect, GraphicsUnit unit, EnumerateMetafileProc callback, IntPtr callbackData, ImageAttributes imageAttr)
Sends the records of a selected rectangle from a  Metafile, one at a time, to a callback method for display in a specified rectangle using specified image attributes.
public void EnumerateMetafile(Metafile metafile, RectangleF destRect, EnumerateMetafileProc callback)
Sends the records of the specified  Metafile, one at a time, to a callback method for display in a specified rectangle.
public void EnumerateMetafile(Metafile metafile, RectangleF destRect, EnumerateMetafileProc callback, IntPtr callbackData)
Sends the records of the specified  Metafile, one at a time, to a callback method for display in a specified rectangle.
public void EnumerateMetafile(Metafile metafile, RectangleF destRect, EnumerateMetafileProc callback, IntPtr callbackData, ImageAttributes imageAttr)
Sends the records of the specified  Metafile, one at a time, to a callback method for display in a specified rectangle using specified image attributes.
public void EnumerateMetafile(Metafile metafile, RectangleF destRect, RectangleF srcRect, GraphicsUnit srcUnit, EnumerateMetafileProc callback)
Sends the records of a selected rectangle from a  Metafile, one at a time, to a callback method for display in a specified rectangle.
public void EnumerateMetafile(Metafile metafile, RectangleF destRect, RectangleF srcRect, GraphicsUnit srcUnit, EnumerateMetafileProc callback, IntPtr callbackData)
Sends the records of a selected rectangle from a  Metafile, one at a time, to a callback method for display in a specified rectangle.
public void EnumerateMetafile(Metafile metafile, RectangleF destRect, RectangleF srcRect, GraphicsUnit unit, EnumerateMetafileProc callback, IntPtr callbackData, ImageAttributes imageAttr)
Sends the records of a selected rectangle from a  Metafile, one at a time, to a callback method for display in a specified rectangle using specified image attributes.
Fills the interior of a closed cardinal spline curve defined by an array of  structures.
Fills the interior of a closed cardinal spline curve defined by an array of  structures using the specified fill mode.
Fills the interior of a closed cardinal spline curve defined by an array of  PointF structures using the specified fill mode and tension.
Fills the interior of a closed cardinal spline curve defined by an array of  structures.
Fills the interior of a closed cardinal spline curve defined by an array of  structures using the specified fill mode.
Fills the interior of a closed cardinal spline curve defined by an array of  structures using the specified fill mode and tension.
Fills the interior of an ellipse defined by a bounding rectangle specified by a  Rectangle structure.
Fills the interior of an ellipse defined by a bounding rectangle specified by a  RectangleF structure.
Fills the interior of an ellipse defined by a bounding rectangle specified by a pair of coordinates, a width, and a height.
Fills the interior of an ellipse defined by a bounding rectangle specified by a pair of coordinates, a width, and a height.
Fills the interior of a  GraphicsPath.
Fills the interior of a pie section defined by an ellipse specified by a  RectangleF structure and two radial lines.
public void FillPie(Brush brush, int x, int y, int width, int height, int startAngle, int sweepAngle)
Fills the interior of a pie section defined by an ellipse specified by a pair of coordinates, a width, a height, and two radial lines.
public void FillPie(Brush brush, float x, float y, float width, float height, float startAngle, float sweepAngle)
Fills the interior of a pie section defined by an ellipse specified by a pair of coordinates, a width, a height, and two radial lines.
Fills the interior of a polygon defined by an array of points specified by  structures.
Fills the interior of a polygon defined by an array of points specified by  structures using the specified fill mode.
Fills the interior of a polygon defined by an array of points specified by  structures.
Fills the interior of a polygon defined by an array of points specified by  Point structures using the specified fill mode.
Fills the interior of a rectangle specified by a  Rectangle structure.
Fills the interior of a rectangle specified by a  RectangleF structure.
Fills the interior of a rectangle specified by a pair of coordinates, a width, and a height.
Fills the interior of a rectangle specified by a pair of coordinates, a width, and a height.
Fills the interiors of a series of rectangles specified by  RectangleF structures.
Fills the interiors of a series of rectangles specified by  structures.
Fills the interior of a  Region.
Forces execution of all pending graphics operations and returns immediately without waiting for the operations to finish.
Forces execution of all pending graphics operations with the method waiting or not waiting, as specified, to return before the operations finish.
Gets the cumulative graphics context.
Gets the handle to the device context associated with this  Graphics.
Gets the nearest color to the specified  Color structure.
Updates the clip region of this  Graphics to the intersection of the current clip region and the specified  Rectangle structure.
Updates the clip region of this  Graphics to the intersection of the current clip region and the specified  RectangleF structure.
Updates the clip region of this  Graphics to the intersection of the current clip region and the specified  Region.
Indicates whether the specified  Point structure is contained within the visible clip region of this  Graphics.
Indicates whether the specified  PointF structure is contained within the visible clip region of this  Graphics.
Indicates whether the rectangle specified by a  Rectangle structure is contained within the visible clip region of this  Graphics.
Indicates whether the rectangle specified by a  RectangleF structure is contained within the visible clip region of this  Graphics.
Indicates whether the point specified by a pair of coordinates is contained within the visible clip region of this  Graphics.
Indicates whether the rectangle specified by a pair of coordinates, a width, and a height is contained within the visible clip region of this  Graphics.
Indicates whether the point specified by a pair of coordinates is contained within the visible clip region of this  Graphics.
Indicates whether the rectangle specified by a pair of coordinates, a width, and a height is contained within the visible clip region of this  Graphics.
public Region[] MeasureCharacterRanges(string text, Font font, RectangleF layoutRect, StringFormat stringFormat)
Gets an array of  Region objects, each of which bounds a range of character positions within the specified string.
Measures the specified string when drawn with the specified  Font.
Measures the specified string when drawn with the specified  and formatted with the specified .
Measures the specified string when drawn with the specified  within the specified layout area.
Measures the specified string when drawn with the specified  and formatted with the specified .
public SizeF MeasureString(string text, Font font, SizeF layoutArea, StringFormat stringFormat, out int charactersFitted, out int linesFilled)
Measures the specified string when drawn with the specified  and formatted with the specified .
Measures the specified string when drawn with the specified .
Measures the specified string when drawn with the specified  and formatted with the specified .
Multiplies the world transformation of this  Graphics and specified the  Matrix in the specified order.
Releases a handle to a device context.
Resets the clip region of this  Graphics to an infinite region.
Resets the world transformation matrix of this  Graphics to the identity matrix.
Restores the state of this  Graphics to the state represented by a  GraphicsState.
Applies the specified rotation to the transformation matrix of this  Graphics.
Applies the specified rotation to the transformation matrix of this  Graphics in the specified order.
Saves the current state of this  Graphics and identifies the saved state with a  GraphicsState.
Applies the specified scaling operation to the transformation matrix of this  Graphics by prepending it to the object's transformation matrix.
Applies the specified scaling operation to the transformation matrix of this  Graphics in the specified order.
Sets the clipping region of this  Graphics to the specified  GraphicsPath.
Sets the clipping region of this  Graphics to the result of the specified operation combining the current clip region and the specified  GraphicsPath.
Sets the clipping region of this  Graphics to the result of the specified combining operation of the current clip region and the  Clip property of the specified  Graphics.
Sets the clipping region of this  Graphics to the result of the specified operation combining the current clip region and the rectangle specified by a  Rectangle structure.
Sets the clipping region of this  Graphics to the rectangle specified by a  RectangleF structure.
Sets the clipping region of this  Graphics to the result of the specified operation combining the current clip region and the rectangle specified by a  RectangleF structure.
Sets the clipping region of this  Graphics to the result of the specified operation combining the current clip region and the specified  Region.
Transforms an array of points from one coordinate space to another using the current world and page transformations of this  Graphics.
Transforms an array of points from one coordinate space to another using the current world and page transformations of this .
Translates the clipping region of this  Graphics by specified amounts in the horizontal and vertical directions.
Translates the clipping region of this  Graphics by specified amounts in the horizontal and vertical directions.
Changes the origin of the coordinate system by prepending the specified translation to the transformation matrix of this  Graphics.
Changes the origin of the coordinate system by applying the specified translation to the transformation matrix of this  Graphics in the specified order.