Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

Graphics Methods

(see also Protected Methods )
  Name Description
Public method AddMetafileComment Adds a comment to the current Metafile.
Public method BeginContainer Overloaded. Saves a graphics container with the current state of this Graphics and opens and uses a new graphics container.
Public method Supported by the .NET Compact Framework Clear Clears the entire drawing surface and fills it with the specified background color.
Public method CopyFromScreen Overloaded. Performs a bit-block transfer of color data from the screen to the drawing surface of the Graphics.
Public method CreateObjRef  Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (inherited from MarshalByRefObject)
Public method Supported by the .NET Compact Framework Dispose Releases all resources used by this Graphics.
Public method DrawArc Overloaded. Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height.
Public method DrawBezier Overloaded. Draws a Bézier spline defined by four Point structures.
Public method DrawBeziers Overloaded. Draws a series of Bézier splines from an array of Point structures.
Public method DrawClosedCurve Overloaded. Draws a closed cardinal spline defined by an array of Point structures.
Public method DrawCurve Overloaded. Draws a cardinal spline through a specified array of Point structures.
Public method Supported by the .NET Compact Framework DrawEllipse Overloaded. Draws an ellipse defined by a bounding rectangle specified by a pair of coordinates, a height, and a width.
Public method Supported by the .NET Compact Framework DrawIcon Overloaded. Draws the image represented by the specified Icon at the specified coordinates.
Public method DrawIconUnstretched Draws the image represented by the specified Icon without scaling the image.
Public method Supported by the .NET Compact Framework DrawImage Overloaded. Draws the specified Image at the specified location and with the original size.
Public method DrawImageUnscaled Overloaded. Draws the specified image using its original physical size at the location specified by a coordinate pair.
Public method DrawImageUnscaledAndClipped Draws the specified image without scaling and clips it, if necessary, to fit in the specified rectangle.
Public method Supported by the .NET Compact Framework DrawLine Overloaded. Draws a line connecting the two points specified by the coordinate pairs.
Public method Supported by the .NET Compact Framework DrawLines Overloaded. Draws a series of line segments that connect an array of Point structures.
Public method DrawPath Draws a GraphicsPath.
Public method DrawPie Overloaded. Draws a pie shape defined by an ellipse specified by a coordinate pair, a width, a height, and two radial lines.
Public method Supported by the .NET Compact Framework DrawPolygon Overloaded. Draws a polygon defined by an array of Point structures.
Public method Supported by the .NET Compact Framework DrawRectangle Overloaded. Draws a rectangle specified by a coordinate pair, a width, and a height.
Public method DrawRectangles Overloaded. Draws a series of rectangles specified by Rectangle structures.
Public method Supported by the .NET Compact Framework DrawString Overloaded. Draws the specified text string at the specified location with the specified Brush and Font objects.
Public method EndContainer Closes the current graphics container and restores the state of this Graphics to the state saved by a call to the BeginContainer method.
Public method EnumerateMetafile Overloaded. Sends the records in the specified Metafile, one at a time, to a callback method for display at a specified point.
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method ExcludeClip Overloaded. Updates the clip region of this Graphics to exclude the area specified by a Rectangle structure.
Public method FillClosedCurve Overloaded. Fills the interior of a closed cardinal spline curve defined by an array of Point structures.
Public method Supported by the .NET Compact Framework FillEllipse Overloaded. Fills the interior of an ellipse defined by a bounding rectangle specified by a pair of coordinates, a width, and a height.
Public method FillPath Fills the interior of a GraphicsPath.
Public method FillPie Overloaded. 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 method Supported by the .NET Compact Framework FillPolygon Overloaded. Fills the interior of a polygon defined by an array of points specified by Point structures.
Public method Supported by the .NET Compact Framework FillRectangle Overloaded. Fills the interior of a rectangle specified by a pair of coordinates, a width, and a height.
Public method FillRectangles Overloaded. Fills the interiors of a series of rectangles specified by Rectangle structures.
Public method Supported by the .NET Compact Framework FillRegion Fills the interior of a Region.
Public method Flush Overloaded. Forces execution of all pending graphics operations and returns immediately without waiting for the operations to finish.
Public method Static Supported by the .NET Compact Framework FromHdc Overloaded. Creates a new Graphics from the specified handle to a device context.
Public method Static FromHdcInternal Returns a Graphics for the specified device context.
Public method Static FromHow Creates a graphics object.
Public method Static FromHwnd Creates a new Graphics from the specified handle to a window.
Public method Static FromHwndInternal Creates a new Graphics for the specified windows handle.
Public method Static Supported by the .NET Compact Framework FromImage Creates a new Graphics from the specified Image.
Public method GetContextInfo Gets the cumulative graphics context.
Public method Static GetHalftonePalette Gets a handle to the current Windows halftone palette.
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Supported by the .NET Compact Framework GetHdc Gets the handle to the device context associated with this Graphics.
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method GetNearestColor Gets the nearest color to the specified Color structure.
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method IntersectClip Overloaded. Updates the clip region of this Graphics to the intersection of the current clip region and the specified Rectangle structure.
Public method IsVisible Overloaded. Indicates whether the point specified by a pair of coordinates is contained within the visible clip region of this Graphics.
Public method MeasureCharacterRanges Gets an array of Region objects, each of which bounds a range of character positions within the specified string.
Public method Supported by the .NET Compact Framework MeasureString Overloaded. Measures the specified string when drawn with the specified Font.
Public method MultiplyTransform Overloaded. Multiplies the world transformation of this Graphics and specified the Matrix.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework ReleaseHdc Overloaded. Releases a device context handle obtained by a previous call to the GetHdc method of this Graphics.
Public method ReleaseHdcInternal Releases a handle to a device context.
Public method Supported by the .NET Compact Framework ResetClip Resets the clip region of this Graphics to an infinite region.
Public method ResetTransform Resets the world transformation matrix of this Graphics to the identity matrix.
Public method Restore Restores the state of this Graphics to the state represented by a GraphicsState.
Public method RotateTransform Overloaded. Applies the specified rotation to the transformation matrix of this Graphics.
Public method Save Saves the current state of this Graphics and identifies the saved state with a GraphicsState.
Public method ScaleTransform Overloaded. Applies the specified scaling operation to the transformation matrix of this Graphics by prepending it to the object's transformation matrix.
Public method SetClip Overloaded. Sets the clipping region of this Graphics to the Clip property of the specified Graphics.
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (inherited from Object)
Public method TransformPoints Overloaded. Transforms an array of points from one coordinate space to another using the current world and page transformations of this Graphics.
Public method TranslateClip Overloaded. Translates the clipping region of this Graphics by specified amounts in the horizontal and vertical directions.
Public method TranslateTransform Overloaded. Changes the origin of the coordinate system by prepending the specified translation to the transformation matrix of this Graphics.
Top
  Name Description
Protected method Supported by the .NET Compact Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Overloaded. (inherited from MarshalByRefObject)
Top

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.