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




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

Syntax

Visual Basic (Declaration) 
Public Function RegionToGdiPlusRegion( _
   ByVal xform As RasterRegionXForm _
) As Region
Visual Basic (Usage)Copy Code
Dim instance As RasterImage
Dim xform As RasterRegionXForm
Dim value As Region
 
value = instance.RegionToGdiPlusRegion(xform)
C# 
public Region RegionToGdiPlusRegion( 
   RasterRegionXForm xform
)
Managed Extensions for C++ 
public: Region RegionToGdiPlusRegion( 
   RasterRegionXForm* xform
) 
C++/CLI 
public:
Region RegionToGdiPlusRegion( 
   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) in 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

The GDI+ region this method creates.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also