Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IHTMLTableCol::align Property

Sets or retrieves the alignment of the object relative to the display or table.


HRESULT IHTMLTableCol::get_align(BSTR *p);HRESULT IHTMLTableCol::put_align(BSTR v);


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

Possible Values

center Aligns to the center.
justify Aligns to the left and right edge.
left Default. Aligns to the left edge.
right Aligns to the right edge.

Return Value

Returns S_OK if successful, or an error value otherwise.


The default value for the th element is center.

The justify possible value is available only for the div, hn, and p elements.

Community Additions

© 2015 Microsoft