Retrieves how the element is aligned with adjacent text.
Syntax
HRESULT get_align( BSTR *p );
Parameters
- p
- Address of a string (BSTR) variable that receives the alignment. For details, see the align property.
Return Value
Returns S_OK if successful, or an error code otherwise.
Sets how the element is aligned with adjacent text.
Syntax
HRESULT put_align( BSTR v );
Parameters
- v
- String (BSTR) that specifies the alignment to set. For details, see the align property.
Return Value
Returns S_OK if successful, or an error code otherwise.