←Select platform

ConvertBoundsToView Method

Summary

Converts a rectangle value from logical (excluding the current transformation) to physical (in control pixel coordinates).

Syntax
C#
C++/CLI
public LeadRectD ConvertBoundsToView( 
   LeadRectD bounds, 
   bool clipped 
) 
public:  
   LeadRectD^ ConvertBoundsToView( 
      LeadRectD^ bounds, 
      bool clipped 
   ) 

Parameters

bounds

The input bounding rectangle in logical coordinates

clipped

true to return the bounding rectangle intersected with the current viewer control area, otherwise; false.

Return Value

The converted bounds value.

Remarks

Use GetItemBounds to obtain the bounding rectangle of an item (or part of it) in logical coordinates.

For more information refer to Image Viewer Appearance, Image Viewer Transformation, and Image Viewer Bounds and Transform.

Requirements

Target Platforms

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

Leadtools.Controls Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.