PDFium Delphi Component Docs

ObjectCount property

Component: TPdfView  ·  Unit: PDFium
TPdfView counterpart to TPdf.ObjectCount

Syntax

property ObjectCount: Integer;

Description

Provides the TPdfView counterpart to TPdf.ObjectCount; the control passes the call through to its underlying Pdf instance and refreshes the view if the document changes

The same semantic notes from TPdf.ObjectCount apply here; the only difference is that you work through the visual control rather than the model object

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

Remarks

Example

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

See Also

ObjectCount, Pdf, Active