LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
GetBounds Method
See Also 
Leadtools Namespace > RasterRegion Class : GetBounds Method



Gets a LeadRect structure that represents a rectangle that bounds this RasterRegion in pixels. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Function GetBounds() As LeadRect
Visual Basic (Usage)Copy Code
Dim instance As RasterRegion
Dim value As LeadRect
 
value = instance.GetBounds()
C# 
public LeadRect GetBounds()
C++/CLI 
public:
LeadRect GetBounds(); 

Return Value

A LeadRect structure that represents a rectangle that bounds this RasterRegion in pixels.

Example

For an example, refer to RasterRegion.

Remarks

The bounding rectangle is always the smallest possible bounding rectangle of this RasterRegion. The returned rectangle is empty (all values equals to zero) if the region is empty.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also