[]
        
(Showing Draft Content)

C1.Util.DX.DirectWrite.TextAnalysisSink.SetBidiLevel

SetBidiLevel Method

SetBidiLevel(int, int, byte, byte)

Sets a bidirectional level on the range, which is called once per run change (either explicit or resolved implicit).

Declaration
void SetBidiLevel(int textPosition, int textLength, byte explicitLevel, byte resolvedLevel)
Parameters
Type Name Description
int textPosition

The starting position from which to report.

int textLength

The number of UTF16 units of the reported range.

byte explicitLevel

The explicit level from the paragraph reading direction and any embedded control codes RLE/RLO/LRE/LRO/PDF, which is determined before any additional rules.

byte resolvedLevel

The final implicit level considering the explicit level and characters' natural directionality, after all Bidi rules have been applied.