←Select platform

ConvertBoundsToView Method

Summary

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

Syntax

C#
VB
C++
public LeadRectD ConvertBoundsToView( 
   LeadRectD bounds, 
   bool clipped 
) 
Public Function ConvertBoundsToView( 
   ByVal bounds As LeadRectD, 
   ByVal clipped As Boolean 
) As LeadRectD 
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 19.0.2017.10.19
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.WinForms Assembly