procedure UpdatePage;
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.
Käärii vastaavan PDFium-API:n ja altistaa sen TPdf-instanssin jäsenenä, joten kuluttajien ei tarvitse hallita FPDF_DOCUMENT-kahvoja suoraan
Pdf1.Active before calling page-scoped operations; methods that require an open document raise EPdfError otherwise.SaveAs to persist.
if Pdf1.Active then
Pdf1.UpdatePage;