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