Component: TPdfView · Unit: PDFium
Changes the in-memory text direction of the form field widget that currently has focus in the viewer
Syntax
function SetFocusedFormFieldTextDirection(Direction: TPdfFormTextDirection): Boolean;
Remarks
- Passing
ftdUnknown is rejected and returns False without calling into PDFium
- Returns True when PDFium accepts the new direction for the focused widget; the page scene is invalidated so that the relayouted field repaints immediately
- The change only alters in-memory state and never persists into the saved document; persisting a direction means writing the field dictionary entries yourself
- The viewer, document and page must be active
See Also