Leadtools.ImageProcessing.Core Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.10
Region Property
See Also 
Leadtools.ImageProcessing.Core Namespace > SmoothCommand 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 SmoothCommand
Dim value As Region
 
value = instance.Region
C# 
public Region Region {get;}
Managed Extensions for C++ 
public: __property Region get_Region();
C++/CLI 
public:
property Region Region {
   Region get();
}

Return 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: 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