alignRow Method

Summary

Align the items to even distances in a row.

Syntax

JavaScript Syntax
ImageViewerViewLayout.prototype.alignRow = function(firstItemIndex, lastItemIndex, itemBounds, rowWidth, totalWidth, alignment) 
TypeScript Syntax
alignRow(firstItemIndex: number, lastItemIndex: number, itemBounds: LeadRectD[], rowWidth: number, totalWidth: 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.

rowWidth

The row width in pixels.

totalWidth

Largest row width found in the layout.

alignment

Alignment to use.

Remarks

This method is used by UpdateTransform.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly