←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
WinRT C#
C++
public LeadRect GetBounds() 
Public Function GetBounds() As Leadtools.LeadRect 
public Leadtools.LeadRect GetBounds() 
@property (nonatomic, assign, readonly) LeadRect bounds 
public LeadRect getBounds() 
 function Leadtools.RasterRegion.GetBounds() 
public: 
Leadtools.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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly