property PageNumber: Integer;
Returns or selects the 1-based current page index; assigning 0 unloads the current native page while 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
if Pdf1.Active then
Memo1.Lines.Add('PageNumber = ' + VarToStr(Pdf1.PageNumber));