ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi.DeviceContexts Namespace / GdiplusGraphicDeviceContext Class
Properties Methods


In This Topic
    GdiplusGraphicDeviceContext Class Members
    In This Topic

    The following tables list the members exposed by GdiplusGraphicDeviceContext.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of GdiplusGraphicDeviceContext class.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the color of the background of the device context. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public PropertyGets or sets the background mode of the device context. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public PropertyGets or sets the drawing direction of the circle shapes. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public PropertyGets or sets the handle of the current clipping region of the device context. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public PropertyGets or sets the color of the foreground of the device context. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public PropertyGets or sets a DeviceContext.GraphicsMode indicating whether use the world transform in this DC. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public PropertyGets or [protected] sets the handle of the device context. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public PropertyGets or sets the mapping mode of the device context. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public PropertyGets the number of pixels per logical inch along the screen width. In a system with multiple display monitors, this value is the same for all monitors. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public PropertyGets the number of pixels per logical inch along the screen height. In a system with multiple display monitors, this value is the same for all monitors. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public PropertyGet or set the current foreground mix mode.GDI uses the foreground mix mode to combine pens and interiors of filled objects with the colors already on the screen. The foreground mix mode defines how colors from the brush or pen and the colors in the existing image are to be combined. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public PropertyGets or sets the text-alignment flags for this device context. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public PropertyGets or sets the current intercharacter spacing for the device context. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public PropertyGets or sets the x-extent and y-extent of the current viewport for the device context. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public PropertyGets or sets the x-coordinates and y-coordinates of the viewport origin for the device context (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public PropertyGets or sets the x-extent and y-extent of the current window for the device context. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public PropertyGets or sets the x-coordinates and y-coordinates of the window origin for the device context (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public PropertyGets or sets the world transform. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Top
    Protected Properties
     NameDescription
    Protected PropertyGets the local cached Gdiplus System.Drawing.Graphics.  
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded. Displays bitmaps that have transparent or semitransparent pixels. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodClips the device context by the specified rectangle and operation mode. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodOverloaded. Performs a bit-block transfer of the color data corresponding to a rectangle of pixels from the specified source DeviceContext object into a destination DeviceContext object. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodOverloaded. Overridden. Releases the unmanaged resources used by the DeviceContext and optionally releases the managed resources.  
    Public MethodOverloaded. Draws a line segment and an arc. The line segment is drawn from the position which is defined by radius and startAngle. The arc is drawn along the perimeter of a circle with the given radius and center. The length of the arc is defined by the given start and sweep angles. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodDraws the special line by using the current pen of the device context. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodDraws one or more Bezier curves. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodDraws a series of line segments by connecting the points in the specified array. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodDraws formatted text in the specified rectangle. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodOverloaded. Gradient fills the rectangle with colors. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodFills the region by the specified brush. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodDraws a border around the specified region by using the specified brush. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodGradient fills the triangle with specified colors. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodRetrieves the dimensions of the tightest bounding rectangle that can be drawn around the current visible area on the device. The visible area is defined by the current clipping region or clip path, as well as any overlapping windows. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public Method (Inherited from System.MarshalByRefObject)
    Public Methodretrieves the red, green, blue (RGB) color value of the pixel at the specified coordinates. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public Methodretrieves the foreground mix mode of the specified device context. The mix mode specifies how the pen or interior color and the color already on the screen are combined to yield a new color. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public Method (Inherited from System.MarshalByRefObject)
    Public MethodInverts a rectangle in a window by performing a logical NOT operation on the color values for each pixel in the rectangle's interior. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodInverts the colors in the specified region. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodDraws formatted text in the specified rectangle. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodPaints a chord (a region bounded by the intersection of an ellipse and a line segment, called a secant). The chord is outlined by using the current pen and filled by using the current brush. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodPaints an ellipse. The center of the ellipse is the center of the specified bounding rectangle. The ellipse is outlined by using the current pen and is filled by using the current brush. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodPaints a pie-shaped wedge bounded by the intersection of an ellipse and two radials. The pie is outlined by using the current pen and filled by using the current brush. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodPaints a polygon consisting of two or more vertices connected by straight lines. The polygon is outlined by using the current pen and filled by using the current brush and polygon fill mode. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodDraw the special rectangle by using the current pen of the device context and fill the rectangle by using the current brush of the device context. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodPaints a rectangle with rounded corners. The rectangle is outlined by using the current pen and filled by using the current brush. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public Methodconverts device coordinates into logical coordinates. The conversion depends on the mapping mode of the device context, the settings of the origins and extents for the window and viewport, and the world transformation. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public Methodconverts logical coordinates into device coordinates. The conversion depends on the mapping mode of the device context, the settings of the origins and extents for the window and viewport, and the world transformation. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodRestores the state of this C1.Framework.Drawing.Gdi.Graphics object to the state represented by a handle. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodSaves the current state of this C1.Framework.Drawing.Gdi.Graphics object and identifies the saved state with a handle. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodModifies the viewport for a device context using the ratios formed by the specified multiplicands and divisors. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodModifies the window for a device context using the ratios formed by the specified multiplicands and divisors. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodSelects an object into the specified device context(DC). The new object replaces the previous object of the same type. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodSets the color of the background of the device context. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodSets the background mode of the device context. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodSets the drawing direction of the circle shapes. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodCombines the specified region with the current clipping region using the specified mode. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodSets the color of the foreground of the device context. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodSets the pixel at the specified coordinates to the closest approximation of the specified color. The point must be in the clipping region and the visible part of the device surface. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodSets the current foreground mix mode. GDI uses the foreground mix mode to combine pens and interiors of filled objects with the colors already on the screen. The foreground mix mode defines how colors from the brush or pen and the colors in the existing image are to be combined. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodSets the text-alignment flags for this device context. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodSets the current intercharacter spacing for the device context. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodSpecifies the amount of space the system should add to the break characters in a string of text. The space is added when an application calls the TextOut method. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodThe TabbedTextExtent method computes the width and height of a character string.If the string contains one or more tab characters, the width of the string is based upon the specified tab stops. The TabbedTextExtent method uses the currently selected font to compute the dimensions of the string. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodWrites a character string at a specified location, expanding tabs to the values specified in an array of tab-stop positions. Text is written in the currently selected font, background color, and text color. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodComputes the width and height of the specified string of text. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodRetrieves the number of characters in a specified string that will fit within a specified space and fills an array with the text extent for each of those characters. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodWrites a character string at the specified location, using the currently selected font, background color, and text color. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodMoves the clipping region of a device context by the specified offsets. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodModifies the viewport origin for a device context using the specified horizontal and vertical offsets. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Public MethodModifies the window origin for a device context using the specified horizontal and vertical offsets. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Top
    Protected Methods
     NameDescription
    Protected MethodDeletes this DeviceContext, and frees the memory allocated for it. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Protected MethodGets the drawing direction of the circle shapes. (Inherited from C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext)
    Protected MethodOverloaded.  (Inherited from System.MarshalByRefObject)
    Top
    See Also