Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.3.23
|
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 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+.