alignHeights Method

Summary

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

Syntax
TypeScript
JavaScript
ImageViewerViewLayout.prototype.alignHeights = function( 
   firstItemIndex, 
   lastItemIndex, 
   itemBounds, 
   alignment 
) 
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

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.