dir property

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

Sets or retrieves the reading order of the object.

Syntax

HRESULT value = object.put_dir(BSTR v);HRESULT value = object.get_dir(BSTR* p);

Property values

Type: BSTR

ltr

Default. Content flows left to right.

rtl

Content flows right to left.

Remarks

The property does not affect alphanumeric characters in Latin documents. These characters always render ltr. However, the property does affect punctuation characters in Latin documents. For example, punctuation marks such as periods and question marks render to the left of a sentence when the IHTMLDocument3::dir property is set to rtl.

See also

Reference
IHTMLRuleStyle2::direction
Conceptual
HTML Character Sets

 

 

Build date: 6/6/2012

Community Additions

Show:
© 2014 Microsoft. All rights reserved.