[]
Sets a bidirectional level on the range, which is called once per run change (either explicit or resolved implicit).
void SetBidiLevel(int textPosition, int textLength, byte explicitLevel, byte resolvedLevel)
Sub SetBidiLevel(textPosition As Integer, textLength As Integer, explicitLevel As Byte, resolvedLevel As Byte)
| 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. |