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 )
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+.