ImgElement.Align Property
SharePoint Designer Developer Reference |
Sets or returns a String that represents how an object is aligned with adjacent text.
Syntax
expression.align
expression Required. A variable that represents an ImgElement object.
Remarks
The align property can be one of the following String values:
Value | Description |
---|---|
absbottom |
Positions the bottom of the object with the absolute bottom of the surrounding text. The absolute bottom is equal to the baseline of the text minus the height of the largest descender in the text. |
absmiddle |
Positions the middle of the object with the absolute middle of the surrounding text. The absolute middle is the midpoint between the absolute bottom and top of the surrounding text. |
baseline |
Positions the bottom of the object with the baseline of the surrounding text. |
bottom |
Positions the bottom of the object with the bottom of the surrounding text. The bottom is equal to the baseline minus the standard height of a descender in the text. |
left |
Positions the object to the left of the surrounding text. All preceding and subsequent text flows to the right of the object. |
middle |
Positions the middle of the object in the middle of the surrounding text. The middle is the midpoint between the bottom and top of the surrounding text. |
right |
Positions the object to the right of the surrounding text. All subsequent text flows to the left of the object. |
texttop |
Positions the top of the object with the absolute top of the surrounding text. The absolute top is the baseline plus the height of the largest ascender in the text. |
top |
Positions the top of the object with the top of the text. The top of the text is the baseline plus the standard height of an ascender in the text. |
See Also