Leadtools.Controls Namespace > ImageViewerViewLayout Object : AlignRow Method |
function Leadtools.Controls.ImageViewerViewLayout.alignRow( firstItemIndex , lastItemIndex , itemBounds , rowWidth , totalWidth , 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. |
rowWidth | double | The row width in pixels. |
totalWidth | double | Largest row width found in the layout. |
alignment | ControlAlignment | Alignment to use. |
This method is used by UpdateTransform.