updateTransform Method

Summary

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

Syntax

JavaScript Syntax
ImageViewerHorizontalViewLayout.prototype.updateTransform = function(imageViewer, xScaleFactor, yScaleFactor, sizeMode, viewRect, itemBounds) 
TypeScript Syntax
updateTransform(imageViewer: ImageViewer, xScaleFactor: number, yScaleFactor: number, sizeMode: ControlSizeMode, viewRect: LeadRectD, itemBounds: LeadRectD[]): void; 

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 19.0.2017.10.18
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly