TPDFlibFormTextDirection

Data types, forms, Unicode

Description

Selects the paragraph direction used to resolve visual caret order in a TPDFlibFormSession

The setting controls editing navigation only and does not reorder the logical field value or derive direction from the field's /Q alignment

Declaration

type
  TPDFlibFormTextDirection = (ftdAuto,
    ftdLeftToRight, ftdRightToLeft);

Values

ftdAutoUses the first strong directional character in the active edit value and falls back to left-to-right when no strong character exists
ftdLeftToRightUses a left-to-right paragraph base direction while preserving embedded right-to-left runs
ftdRightToLeftUses a right-to-left paragraph base direction while preserving embedded left-to-right runs

See also

SetTextDirection, GetVisualCaretOrder, TPDFlibFormSession