←Select platform

Bounds Property

Summary

Gets the bounds location for the current interactive rectangle mode.

Syntax

C#
VB
C++
public Rect Bounds { get; } 
  
Public ReadOnly Property Bounds As Rect 
public: 
property Rect Bounds { 
   Rect get(); 
} 

Property Value

The bounds location for the current interactive rectangle mode.

Remarks

The coordinates are always in control (display) to image coordinates. You can use PointToImageCoordinates and BoundsToImageCoordinates to map a value in control or display coordinates (what is on screen) to image coordinates (actual x and y location in the image pixels). You can use PointFromImageCoordinates and BoundsFromImageCoordinates to map a value in image coordinates (actual x and y location in t he image pixels) to control or display coordinates (what is on screen).

Example

For C#/VB examples, refer to InteractiveUserRectangle.

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.Windows.Controls Assembly