Error processing SSI file
LEADTOOLS JavaScript (Leadtools.Controls)

AlignWidths Method

Show in webframe
Index of the first item in itemBounds to align.
Index of the last item in itemBounds to align.
Array of item bounds to update.
Alignment to use.
Helper method to align the widths of the items and return the largest value.
Syntax
 function Leadtools.Controls.ImageViewerViewLayout.alignWidths( 
   firstItemIndex ,
   lastItemIndex ,
   itemBounds ,
   alignment 
)

Parameters

ParameterTypeDescription
firstItemIndexintIndex of the first item in itemBounds to align.
lastItemIndexintIndex of the last item in itemBounds to align.
itemBoundsLeadRectDArray of item bounds to update.
alignmentControlAlignmentAlignment to use.

Return Value

TypeDescription
LeadRectD The largest width found.
Remarks

This method is used by UpdateTransform.

See Also

Reference

ImageViewerViewLayout Object
ImageViewerViewLayout Members

Error processing SSI file