Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Retrieves the value of the cascading style sheet (CSS) textAlign property for the object.
Syntax
HRESULT get_textAlign( BSTR *p );
Parameters
- p
- Address of a variable that receives the value of the property, which can be one of these strings:
left right center justify - See textAlign for details. This parameter receives NULL if the property is not set.
Return Value
Returns S_OK if successful, or an error value otherwise.
See Also
put_textAlign
Sets the value of the cascading style sheet (CSS) textAlign property for the object. The property determines the alignment of the object's text.
Syntax
HRESULT put_textAlign( BSTR v );
Parameters
- v
- String specifying the text alignment, or NULL to remove the property. Can be one of these strings:
left right center justify - See textAlign for details.
Return Value
Returns S_OK if successful, or an error value otherwise.
See Also
get_textAlign
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.