PDFium Delphi Component Docs

ObjectType property

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

Syntax

property ObjectType[Index: Integer]: TObjectType;

Description

Provides the TPdfView counterpart to TPdf.ObjectType; 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.ObjectType 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.ObjectType; when TPdfView owns its internal TPdf, this member is the only public accessor

Remarks

Example

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

See Also

ObjectType, Pdf