Component: TPdfView · Unit: PDFium
Changes the in-memory text direction of the form field widget currently focused 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 the relayouted field repaints immediately
- The change only alters in-memory state and never persists into the saved document; persisting a direction requires writing the field dictionary entries yourself
- The viewer, document, and page must be active
See Also