共用方式為


unicodeBidi property

Specifies the level of embedding with respect to the bidirectional algorithm.

This property is read/write.

 

Syntax

HRESULT put_unicodeBidi(
                BSTR v
);

HRESULT get_unicodeBidi(
  [out, retval] BSTR *sEmbedLevel = normal
);

Property values

Type: BSTR

One of the values listed in Possible Values.

normal (normal)

Initial value. Element does not open an additional level of embedding. For inline elements, implicit reordering works across element boundaries.

embed (embed)

Element opens an additional level of embedding. The value of the IHTMLCurrentStyle::direction property specifies the embedding level. Reordering is implicit inside the element.

bidi-override (bidi-override)

Same as the embed value, except that, inside the element, reordering is strictly in sequence according to the IHTMLCurrentStyle::direction property. This value overrides the implicit bidirectional algorithm.

String format

normal | embed | bidi-override

CSS information

Applies To All elements
Media visual
Inherited no
Initial Value normal

Standards information

Remarks

The IHTMLCurrentStyle::unicodeBidi property is used with the IHTMLCurrentStyle::direction property.

The Unicode bidirectional algorithm automatically reverses embedded character sequences according to their inherent direction. For example, the base direction of an English document is left-to-right. If portions of a paragraph within the document contain a language with a right-to-left reading order, the direction of that language displays correctly right-to-left. The user agent applying the bidirectional algorithm correctly reverses the language direction.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll