PDFium Component Docs

AnnotationCount プロパティ

コンポーネント: TPdfView  ·  ユニット: PDFium
TPdfView wrapper that forwards to TPdf.AnnotationCount.

Syntax

property AnnotationCount: Integer;

Description

TPdf.AnnotationCount をミラーします。TPdfView コンポーネントは呼び出しを基盤の Pdf インスタンスへ転送し、呼び出しが文書を変更する場合はビューを更新します

TPdf.AnnotationCount のすべての意味的注意事項がここでも同一に適用されます。唯一の違いは、モデルオブジェクトではなく視覚コントロールを通じて操作を扱うことです

TPdfView が外部 TPdf にバインドされているとき(PdfView1.Pdf := Pdf1 を代入)、このメンバーを読み取ると Pdf1.AnnotationCount と同じデータを返します。TPdfView が内部 TPdf を所有しているとき、このメンバーは唯一の公開アクセサーです

Remarks

Example

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

See Also

AnnotationCount, Pdf, Active