GetResolvedTextDirection
Forms, interaction, unicode
Description
Internal read accessor of the ResolvedTextDirection property of TPDFlibFormSession
An explicitly configured ftdLeftToRight or ftdRightToLeft direction is returned as configured
With ftdAuto the helper inspects the current edit value and selects ftdRightToLeft when its first strong character is right-to-left, otherwise ftdLeftToRight
The resolved direction drives the base direction of the per-line bidirectional run resolution used for visual caret navigation
Declaration
function GetResolvedTextDirection: TPDFlibFormTextDirection;
Return value
Returns the explicit direction, or the automatic direction derived from the active edit value
See also
SetTextDirection, EnsureVisualCaretOrder, TPDFlibFormTextDirection, EditValue, TPDFlibFormSession