alignColumn Method

Summary

Align the items to even distances in a column.

Syntax
TypeScript
JavaScript
ImageViewerViewLayout.prototype.alignColumn = function( 
   firstItemIndex, 
   lastItemIndex, 
   itemBounds, 
   columnHeight, 
   totalHeight, 
   alignment 
) 
alignColumn( 
   firstItemIndex: number, 
   lastItemIndex: number, 
   itemBounds: LeadRectD[], 
   columnHeight: number, 
   totalHeight: number, 
   alignment: ControlAlignment 
): void; // 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.

columnHeight

This column height in pixels.

totalHeight

Largest column height found in the layout.

alignment

Alignment to use.

Remarks

This method is used by UpdateTransform.

Requirements

Target Platforms

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

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