alignWidths Method

Summary

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

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

Remarks

This method is used by UpdateTransform.

Requirements

Target Platforms

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

Leadtools.Controls Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.