PDFium Component Docs

UpdatePage method

Component: TPdfView  ·  Unit: PDFium
TPdfView wrapper that forwards to TPdf.UpdatePage.

Syntax

procedure UpdatePage;

Description

Mirrors TPdf.UpdatePage. The TPdfView component forwards the call to its underlying Pdf instance and updates the view if the call alters the document.

All semantic notes from TPdf.UpdatePage apply here as well; the only difference is that you address the operation through the visual control rather than the model object.

When TPdfView is bound to an external TPdf (assigning PdfView1.Pdf := Pdf1), reading this member returns the same data as Pdf1.UpdatePage; when TPdfView owns its internal TPdf, this member is the only public accessor.

Remarks

Example

if PdfView1.Active then
  Memo1.Lines.Add('UpdatePage = ' + VarToStr(PdfView1.UpdatePage));

See Also

UpdatePage, Pdf