PDFiumVCL Docs

FormCanRedo method

이 API 항목은 식별자, 시그니처, 코드 블록, PDF 용어를 원래 형태로 유지합니다.
Component: TPdfView  ·  Unit: PDFium
Reports whether the focused AcroForm widget has at least one undone edit to redo.

Syntax

function FormCanRedo: Boolean;

Description

FormCanRedo wraps PDFium's FORM_CanRedo. It returns True when the FOCUSED AcroForm widget has at least one undone edit in its redo stack that FormRedo could re-apply, and False otherwise.

Returns False safely when the view is inactive, the document has no AcroForm, or no widget is focused.

Making a fresh edit (typing, paste, etc.) clears the redo stack — FormCanRedo flips to False after the next edit. This matches the standard text-editor convention.

Remarks

Example

if PdfView1.FormCanRedo then
  PdfView1.FormRedo
else
  Beep;

See Also

FormRedo, FormCanUndo, FormUndo