←Select platform

GetBounds Method

Summary
Gets a LeadRect structure that represents a rectangle that bounds this RasterRegion in pixels.
Syntax
C#
VB
Objective-C
C++
Java
public LeadRect GetBounds() 
Public Function GetBounds() As LeadRect 
@property (nonatomic, assign, readonly) LeadRect bounds 
public LeadRect getBounds() 
public: 
LeadRect GetBounds();  

Return Value

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

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.

Example

For an example, refer to RasterRegion.

Requirements

Target Platforms

Help Version 21.0.2021.3.5
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly