PDFium Delphi Component Docs

PageHeight property

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

Syntax

property PageHeight: Double;

Description

Mirrors TPdf.PageHeight. The TPdfView component forwards the call to its underlying Pdf instance and refreshes the view if the call changes the document

All semantic notes from TPdf.PageHeight apply here as well; the only difference is that you access the operation through the visual control instead of the model object

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

Remarks

Example

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

See Also

PageHeight, Pdf