IHTMLTableCaption

IHTMLTableCaption


This interface specifies a caption for a table.

This element is a block element.

IHTMLTableCaption Methods
put_align   get_align  
put_vAlign   get_vAlign

IHTMLTableCaption::get_align

HRESULT get_align( 
    BSTR *p 
);

Retrieves the alignment of the caption.

p
Address of a string variable that receives on of these values:
bottom Aligns bottom center.
center Centers the caption.
left Left aligns.
right Right aligns.
top Aligns top-center.

See also put_align

IHTMLTableCaption::get_vAlign

HRESULT get_vAlign(
    BSTR *p 
);

Retrieves whether the caption appears at the top or bottom.

p
Address of a string variable that receives one of these strings:
bottom Places the caption at the bottom of the table.
top Places the caption at the top of the table. This is the default value for this property.

See also put_vAlign

IHTMLTableCaption::put_align

HRESULT put_align(
    BSTR v 
);

Sets the alignment of the caption.

v
String specifying the alignment. Can be one of these values:
bottom Aligns bottom center.
center Centers the caption.
left Left aligns.
right Right aligns.
top Aligns top-center.

See also get_align

IHTMLTableCaption::put_vAlign

HRESULT put_vAlign(
    BSTR v 
);

Sets whether the caption appears at the top or bottom.

v
String specifying the caption placement. Can be one of these strings:
bottom Places the caption at the bottom of the table.
top Places the caption at the top of the table. This is the default value for this property.

See also get_vAlign

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.