IXpsOMGlyphsEditor::GetBidiLevel method (xpsobjectmodel.h)

Gets the bidirectional text level of the parent IXpsOMGlyphs interface.

Syntax

HRESULT GetBidiLevel(
  [out, retval] UINT32 *bidiLevel
);

Parameters

[out, retval] bidiLevel

The bidirectional text level.

Range: 0–61

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the table that follows. For information about XPS document API return values that are not listed in this table, see XPS Document Errors.

Return code Description
S_OK
The method succeeded.
E_POINTER
bidiLevel is NULL.

Remarks

The BidiLevel property specifies the bidirectional nesting level of the Unicode algorithm. Even values imply the left-to-right layout and odd values the right-to-left layout. Right-to-left layout places the run origin at the right side of the first glyph. Advance widths that are positive will move to the left, allowing subsequent glyphs to be placed to the left of the previous glyph.

The range of allowed values for this property is between 0 and 61, inclusive, and the default value is 0.

Requirements

Requirement Value
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header xpsobjectmodel.h

See also

IXpsOMGlyphsEditor

XML Paper Specification

XPS Document Errors