GpRegionExtensions static class GpRegionExtensions Documentation Code public static RegionScope GetRegionScope(this IPointer<GpRegion> region, IPointer<GpGraphics> graphics) Creates a native region from a GDI+ GpRegion and GpGraphics. public static RegionScope GetRegionScope(this IPointer<GpRegion> region, HWND hwnd) Creates a native region from a GDI+ GpRegion and HWND.