Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
CalculateRegionArea Method
See Also 
Leadtools Namespace > RasterImage Class : CalculateRegionArea Method




Gets the total number of pixels in the image region.

Syntax

Visual Basic (Declaration) 
Public Function CalculateRegionArea() As Integer
Visual Basic (Usage)Copy Code
Dim instance As RasterImage
Dim value As Integer
 
value = instance.CalculateRegionArea()
C# 
public int CalculateRegionArea()
Managed Extensions for C++ 
public: int CalculateRegionArea(); 
C++/CLI 
public:
int CalculateRegionArea(); 

Return Value

The pixel count.

Remarks

For more information, refer to Working with the Existing Region.

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