LEADTOOLS Image Processing (Leadtools.ImageProcessing.Core assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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 RasterRegion
Visual Basic (Usage)Copy Code
Dim instance As HolePunchRemoveCommand
Dim value As RasterRegion
 
value = instance.Region
C# 
public RasterRegion Region {get;}
C++/CLI 
public:
property RasterRegion^ Region {
   RasterRegion^ get();
}

Property 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: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also