PDFium Component Docs

FocusedFormFieldName method

Component: TPdf  ·  Unit: PDFium
Returns the current logical form field display name, preferring AlternateName and falling back to Name

Syntax

function FocusedFormFieldName: WString;

Return Value

WString

Description

The logical form cursor follows FocusFormField, FocusNextFormField, FocusPreviousFormField, and FormFieldTabOrder

Use these accessors when a keyboard or voice UI needs to announce the focused field value, label, and metadata even when pdfium has no active text caret

Remarks

Example

Name := Pdf1.FocusedFormFieldName;

See Also

ReadableContent, SetReadingHighlight