alignHeights Method (ImageViewerViewLayout)

Summary

Helper method to align the heights of the items and return the largest value.

Syntax

JavaScript Syntax
ImageViewerViewLayout.prototype.alignHeights = function(_firstItemIndex_, lastItemIndex, itemBounds, alignment) 
TypeScript Syntax
alignHeights(_firstItemIndex_: number, lastItemIndex: number, itemBounds: LeadRectD[], alignment: ControlAlignment): LeadRectD; // protected 

Parameters

*_firstItemIndex_*

Index of the first item in itemBounds to align.

lastItemIndex

Index of the last item in itemBounds to align.

itemBounds

Array of item bounds to update.

alignment

Alignment to use.

Return Value

The largest height found.

Remarks

This method is used by UpdateTransform.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Controls Assembly
Click or drag to resize