ComponentOne CalendarView for WinForms
C1.Framework.Drawing.Gdi Namespace / Region Class / FromGdiplusRegion Method
A System.Drawing.Region object that indicates the gdi+ region.

In This Topic
    FromGdiplusRegion Method
    In This Topic
    Create a new gdi region that is same as the gdi+ region.
    Syntax
    'Declaration
     
    
    Public Shared Function FromGdiplusRegion( _
       ByVal gdiplusRegion As Region _
    ) As Region
    public static Region FromGdiplusRegion( 
       Region gdiplusRegion
    )

    Parameters

    gdiplusRegion
    A System.Drawing.Region object that indicates the gdi+ region.

    Return Value

    A Region object that indicates the new gdi region.
    See Also