PDFium Component Docs

CreateAnnotation-metode

Component: TPdfView  ·  Unit: PDFium
TPdfView wrapper that forwards to TPdf.CreateAnnotation.

Syntax

procedure CreateAnnotation(const Annotation: TPdfAnnotation);

Description

Mirrors TPdf.CreateAnnotation. TPdfView-komponenten videresender kallet til sin underliggende Pdf instans og oppdaterer visningen hvis kallet endrer dokumentet

All semantic notes from TPdf.CreateAnnotation apply identically here; the only difference is that you address the operation through the visual control instead of the model object.

Når TPdfView er bundet til en ekstern TPdf (tilordning PdfView1.Pdf := Pdf1), returnerer lesing av dette medlemmet samme data som Pdf1.CreateAnnotation; når TPdfView eier sin interne TPdf, er dette medlemmet den eneste offentlige tilgangsfunksjonen

Remarks

Example

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

See Also

CreateAnnotation, Pdf