PDFium Component Docs

FocusedFormFieldTextForPage função

Unidade: PDFium
Retorna o texto do widget com foco para um handle de formulário e uma página

Syntax

function FocusedFormFieldTextForPage(FormHandle: FPDF_FORMHANDLE; Page: FPDF_PAGE): WString;

Parameters

FormHandleFPDF_FORMHANDLE
PageFPDF_PAGE

Return Value

WString

Description

FocusedFormFieldTextForPage reads the text of the currently focused form widget for the supplied PDFium form handle and page

Use it when low-level form code needs the same focused-text result exposed by TPdf.FocusedFormFieldText and TPdfView.FocusedFormFieldText

Remarks

Example

Text := FocusedFormFieldTextForPage(Pdf1.FormHandle, Pdf1.Page);

See Also

TPdf.FocusedFormFieldText, TPdfView.FocusedFormFieldText, ClearFocusedFormField