Contents Index Topic Contents | ||
Previous Topic: IHTMLTableCol::get_align Next Topic: IHTMLTableCol::get_span |
IHTMLTableCol::get_vAlign
HRESULT get_vAlign( BSTR *p );Retrieves how the text and other content of an element is vertically aligned within the element.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a string variable that receives one of these strings:
baseline Aligns the baseline of the first line of text with the baselines in adjacent elements. bottom Aligns the text at the bottom of the element. middle Aligns the text in the middle of the element. This is the default value for this property. top Aligns the text at the top of the element. See also put_vAlign
IHTMLTableCol::put_vAlign
HRESULT put_vAlign( BSTR v );Sets how the text and other content of an element is vertically aligned within the element.
- Returns S_OK if successful, or an error value otherwise.
- v
- String specifying the vertical alignment. Can be one of these strings:
baseline Aligns the baseline of the first line of text with the baselines in adjacent elements. bottom Aligns the text at the bottom of the element. middle Aligns the text in the middle of the element. This is the default value for this property. top Aligns the text at the top of the element. See also get_vAlign
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.