ComponentOne MultiSelect 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.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also