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 > SmoothCommand Class : Region Property



Gets the handle to a windows region. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Region As RasterRegion
Visual Basic (Usage)Copy Code
Dim instance As SmoothCommand
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 SmoothCommand returns, this property is updated with a single windows region corresponding to all changes, only if SmoothCommandFlags.SIngleRegion has been set in Flags and SmoothCommandFlags.LeadRegion has not been set. To use this, set the Flags property to SmoothCommandFlags.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