IHTMLTableCol::vAlign Property

Sets or retrieves how text and other content are vertically aligned within the object that contains them.

Syntax

HRESULT IHTMLTableCol::get_vAlign(BSTR *p);
HRESULT IHTMLTableCol::put_vAlign(BSTR v);

Parameters

  • p
    Pointer to a variable of type BSTR that receives one of the values listed in Possible Values.
  • v
    BSTR that specifies one of the values listed in Possible Values.

Possible Values

middle Default. Aligns the text in the middle of the object.
baseline Aligns the base line of the first line of text with the base lines in adjacent objects.
bottom Aligns the text at the bottom of the object.
top Aligns the text at the top of the object.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

IHTMLStyle::verticalAlign