PDFium Component Docs

UpdatePage method

Component: TPdf  ·  Unit: PDFium
Commits in-memory edits made through CreateAnnotation, AddImage, AddText, SetFormFieldFlagsAt, etc. to the underlying PDFium page.

Syntax

procedure UpdatePage;

Description

Commits in-memory edits made through CreateAnnotation, AddImage, AddText, SetFormFieldFlagsAt, etc. to the underlying PDFium page.

Call after a batch of edits and before reading back the modified content or saving the document.

API مربوطهٔ PDFium را در بر می‌گیرد و به‌عنوان یک عضو نمونهٔ TPdf در دسترس قرار می‌دهد تا مصرف‌کنندگان نیازی به مدیریت مستقیم هندل‌های FPDF_DOCUMENT نداشته باشند

Remarks

Example

if Pdf1.Active then
  Pdf1.UpdatePage;

See Also

ReloadPage, CreateAnnotation, AddImage, SaveAs