←Select platform

UpdateTransform Method (ImageViewerHorizontalViewLayout)

Summary

Called by ImageViewer.UpdateTransform to move and size the items in the layout.

Syntax
C#
VB
C++
Overrides Sub UpdateTransform( 
   ByVal imageViewer As ImageViewer, 
   ByVal xScaleFactor As Double, 
   ByVal yScaleFactor As Double, 
   ByVal sizeMode As ControlSizeMode, 
   ByVal viewRect As LeadRect, 
   ByVal itemBounds() As LeadRectD 
) 
virtual void UpdateTransform( 
       ImageViewer^ imageViewer, 
      double xScaleFactor, 
      double yScaleFactor, 
      ControlSizeMode^ sizeMode, 
      LeadRect^ viewRect, 
      array<LeadRectD^>^ itemBounds 
   ) override 

Parameters

imageViewer

The caller image viewer.

xScaleFactor

Current horizontal scale factor value.

yScaleFactor

Current vertical scale factor value.

sizeMode

Current size mode.

viewRect

The total view rectangle. This is the current client area of the viewer minus the view margin, border and padding.

itemBounds

Array of rectangles that must be updated with the location and size of each item. The number of items in this

array is the number of items in the viewer.

Requirements

Target Platforms

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

Leadtools.Controls Assembly