| Leadtools.Controls Namespace > ImageViewerViewLayout Object : AlignHeights Method |
function Leadtools.Controls.ImageViewerViewLayout.alignHeights( 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 height found. |
This method is used by UpdateTransform.