public static RegionData GetGdiPlusRegionData( RasterImage image, RasterRegionXForm xform )
'Declaration Public Shared Function GetGdiPlusRegionData( _ ByVal image As RasterImage, _ ByVal xform As RasterRegionXForm _ ) As RegionData
'Usage Dim image As RasterImage Dim xform As RasterRegionXForm Dim value As RegionData value = RasterRegionConverter.GetGdiPlusRegionData(image, xform)
public static RegionData GetGdiPlusRegionData( RasterImage image, RasterRegionXForm xform )
public: static RegionData^ GetGdiPlusRegionData( RasterImage^ image, RasterRegionXForm^ xform )
Used with AddGdiPlusDataToRegion to load or save an image region.
The data returned by this method is the equivalent of the data returned using the GDI+ System.Drawing.Region.GetRegionData method.
To get the region data as Windows API HRGN data, use GetGdiRegionData and AddGdiDataToRegion.
To get the region data as platform independent byte array, use RasterRegion.GetData and RasterRegion.SetData.
For more information refer to RasterImage and GDI/GDI+.
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