Leadtools.Controls Namespace > ImageViewerViewLayout Object : AlignWidths Method |
function Leadtools.Controls.ImageViewerViewLayout.alignWidths( firstItemIndex , lastItemIndex , itemBounds , alignment )
Parameter | Type | Description |
---|---|---|
firstItemIndex | int | Index of the first item in itemBounds to align. |
lastItemIndex | int | Index of the last item in itemBounds to align. |
itemBounds | LeadRectD | Array of item bounds to update. |
alignment | ControlAlignment | Alignment to use. |
Type | Description |
---|---|
LeadRectD | The largest width found. |
This method is used by UpdateTransform.