Visual Basic (Declaration) | |
---|---|
Public ReadOnly Property HasRegion As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public bool HasRegion {get;} |
Managed Extensions for C++ | |
---|---|
public: __property bool get_HasRegion(); |
Return Value
true if this RasterImage has a region, otherwise; false.When an image has a region, the LEADTOOLS methods that modify the pixel values (for example PosterizeCommand) act on the region, rather than the whole image. In addition, the LEADTOOLS methods that flip, reverse, rotate, shear, or resize an image also transform the region to match the image. For example, if you were to shear the image that had a rectangular region, the region would become a parallelogram.
To remove an image region, use MakeRegionEmpty.
For more information, refer to Working with the Existing Region.
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