Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
GetGdiPlusRegionData Method
See Also 
Leadtools Namespace > RasterImage Class : GetGdiPlusRegionData Method



xform
RasterRegionXForm object that LEADTOOLS uses to translate between display coordinates and image coordinates. If you specify null (Nothing in Visual Basic) for this parameter, the scalar fields default to 1, the offsets default to 0, and the view perspective defaults to the image view perspective.
Gets the GDI+ data that describes the image region.

Syntax

Visual Basic (Declaration)  
Public Function GetGdiPlusRegionData( _
   ByVal xform As RasterRegionXForm _
) As RegionData
Visual Basic (Usage) Copy Code
Dim instance As RasterImage
Dim xform As RasterRegionXForm
Dim value As RegionData
 
value = instance.GetGdiPlusRegionData(xform)
C#  
public RegionData GetGdiPlusRegionData( 
   RasterRegionXForm xform
)
C++/CLI  
public:
RegionData GetGdiPlusRegionData( 
   RasterRegionXForm^ xform
) 

Parameters

xform
RasterRegionXForm object that LEADTOOLS uses to translate between display coordinates and image coordinates. If you specify null (Nothing in Visual Basic) for this parameter, the scalar fields default to 1, the offsets default to 0, and the view perspective defaults to the image view perspective.

Return Value

A RegionData object that contains the information that describes the region in this RasterImage object.

Example

For an example, refer to AddGdiPlusDataToRegion.

Remarks

Used with AddGdiPlusDataToRegion to load or save an image region.

The data returned by this method is the equivalant of the data returned using the GDI+ System.Drawing.Region.GetRegionData method. To obtain data that can be used to construct a GDI HRGN object, use the use the GetRegionData method.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also