PDFium Delphi Component Docs

ObjectHandle property

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

Syntax

property ObjectHandle[Index: Integer]: Pointer;

Description

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

Remarks

Example

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

See Also

ObjectHandle, Pdf