PDFiumVCL 文档

WindowHandle property

此 API 条目保留标识符、签名、代码块和 PDF 术语的原始形式。
Component: TPdfView  ·  Unit: PDFium
Native window handle of the control (Windows-only).

Syntax

property WindowHandle: HWND;

Description

Native window handle of the control (Windows-only).

Available after the control is parented and has been displayed at least once.

All TPdfView display properties trigger a repaint when assigned; you can change several in sequence without flicker because the redraw is coalesced into a single invalidation.

Remarks

Example

begin
  PdfView1.WindowHandle := {value};
  PdfView1.Active := True;
end;

See Also

Active, Pdf, Options, Zoom