PDFium Component Docs

PageWidth property

Component: TPdfView  ·  Unit: PDFium
TPdfView wrapper that passes through to TPdf.PageWidth

Syntax

property PageWidth: Double;

Description

Mirrors TPdf.PageWidth. The TPdfView component passes the call through to its underlying Pdf instance and refreshes the view if the call changes the document

All semantic notes from TPdf.PageWidth 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.PageWidth; when TPdfView owns its internal TPdf, this member is the only public accessor

Remarks

Example

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

See Also

PageWidth, Pdf