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.

Syntax


HRESULT IHTMLTableCol::get_align(BSTR *p);HRESULT IHTMLTableCol::put_align(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

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.

Remarks

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

Show:
© 2015 Microsoft