property PageNumber: Integer;
Returns or selects the 1-based current page index; assigning 0 unloads the current native page whilst keeping the document active
Assignments outside 0..PageCount raise EPdfError without changing the current page
Page replacement is transactional: if PDFium cannot load the requested page, the previous native page and its cached page data remain active
Active is False, the property returns 0TPdfView is bound to this component, prefer changing PdfView1.PageNumber so the viewer refreshes automatically
if Pdf1.Active then
Memo1.Lines.Add('PageNumber = ' + IntToStr(Pdf1.PageNumber));