function FormCanRedo: Boolean;
FormCanRedo는 PDFium의 FORM_CanRedo를 감쌉니다. FOCUSED AcroForm widget의 redo stack에 FormRedo로 다시 적용할 수 있는 undone edit이 하나 이상 있으면 True를 반환하고, 그렇지 않으면 False를 반환합니다
view가 비활성 상태이거나, document에 AcroForm이 없거나, 어떤 widget도 포커스되지 않았을 때는 안전하게 False를 반환합니다
새 edit을 만들면(typing, paste 등) redo stack이 지워집니다. 그 다음 edit 뒤에는 FormCanRedo가 False로 바뀝니다. 이는 일반적인 text editor convention과 같습니다
if PdfView1.FormCanRedo then
PdfView1.FormRedo
else
Beep;