Leadtools.ImageProcessing.Core Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Region Property
See Also 
Leadtools.ImageProcessing.Core Namespace > HolePunchRemoveCommand Class : Region Property



Gets the handle to a windows region.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Region As Region
Visual Basic (Usage)Copy Code
Dim instance As HolePunchRemoveCommand
Dim value As Region
 
value = instance.Region
C# 
public Region Region {get;}
C++/CLI 
public:
property Region Region {
   Region get();
}

Return Value

Handle to a windows region.

Example

Remarks

When HolePunchRemoveCommand returns, this property is updated with a single windows region corresponding to all changes, only if HolePunchRemoveCommandFlags.SingleRegion has been set in the Flags property and HolePunchRemoveCommandFlags.LeadRegion has not been set. To use this, set the Flags property to HolePunchRemoveCommandFlags.SingleRegion. It is the programmer's responsibility to dispose of this region when the region is no longer needed.

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