←Select platform

GetBounds Method

Summary

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

Syntax
C#
VB
Java
Objective-C
C++
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 20.0.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly