ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / Graphics Class / FromGdiplusGraphics Method / FromGdiplusGraphics(Graphics,Boolean) Method
A System.Drawing.Graphics indicates the gdi+ graphics.
A bool indicate whether kept original clip region of gdip graphics

In This Topic
    FromGdiplusGraphics(Graphics,Boolean) Method
    In This Topic
    Creates a new gdi graphics from a gdi+ graphics. This method kept the clip region, but remains low performance, when keptClipRegion is set to true.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function FromGdiplusGraphics( _
       ByVal gdiplusGraphics As Graphics, _
       ByVal keptClipRegion As Boolean _
    ) As Graphics
    public static Graphics FromGdiplusGraphics( 
       Graphics gdiplusGraphics,
       bool keptClipRegion
    )

    Parameters

    gdiplusGraphics
    A System.Drawing.Graphics indicates the gdi+ graphics.
    keptClipRegion
    A bool indicate whether kept original clip region of gdip graphics

    Return Value

    Returns a Graphics that indicates the gdi graphics.
    See Also