Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Retrieves the reading order of the specified object.
Syntax
HRESULT get_direction( BSTR *p );
Parameters
- p
- Address of a string that contains the element's direction option.
ltr The text flow is left-to-right. rtl The text flow is right-to-left. inherit The text flow value is inherited.
Return Value
Returns S_OK if successful, or an error value otherwise.
Sets the reading order of the object.
Syntax
HRESULT put_direction( BSTR v );
Parameters
- v
- String (BSTR) that contains the direction option to set.
ltr The text flow is left-to-right. rtl The text flow is right-to-left. inherit The text flow value is inherited.
Return Value
Returns S_OK if successful, or an error value otherwise.
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.