align property

[This documentation is preliminary and is subject to change.]

Sets or retrieves the alignment of the caption or legend.

This property is not supported for Metro style apps using JavaScript.

Syntax

HRESULT value = object.put_align(BSTR v);HRESULT value = object.get_align(BSTR* p);

Property values

Type: BSTR

bottom

Aligns bottom-center.

center

Aligns center.

left

Aligns left.

right

Aligns right.

top

Aligns top-center.

Standards information

Remarks

The legend tag is used only within a fieldSet tag. The contents of the legend tag are displayed by overwriting the information in the top border of the fieldSet.

The caption tag is used only within a table tag. Its contents are displayed centered above the table and do not interact with the table border.

 

 

Build date: 6/12/2012