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 without addressing the model component separately

Remarks

Example

if PdfView1.Active then
  Memo1.Lines.Add('ObjectHandle = ' + BoolToStr(PdfView1.ObjectHandle[0] <> nil, True));

See Also

ObjectHandle, Pdf