Dieser API-Eintrag behält Bezeichner, Signaturen, Codeblöcke und PDF-Begriffe in ihrer Originalform.
Komponente: TPdfView · Unit: PDFium
Native window handle of the control (Windows-only).
Syntax
property WindowHandle: HWND;
Beschreibung
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.
Hinweise
- Legen Sie Standardwerte zur Entwurfszeit im Objektinspektor fest oder weisen Sie sie zur Laufzeit zu, bevor
Active := True.
- Änderungen werden nur für Eigenschaften an das zugrunde liegende TPdf weitergegeben, die den dauerhaften Zustand beeinflussen (z. B. Pdf.PageRotation); rein visuelle Eigenschaften bleiben lokal an der Ansicht
- If you replace
PdfView1.Pdf at runtime, re-apply any view-only settings — the new TPdf has its own state.
Beispiel
begin
PdfView1.WindowHandle := ;
PdfView1.Active := True;
end;
Siehe auch