property Annotation[Index: Integer]: TPdfAnnotation;
镜像 TPdf.Annotation。TPdfView 组件将调用转发给其底层的 Pdf 实例,并在调用修改文档时刷新视图
TPdf.Annotation 的所有语义说明在此同样适用;唯一区别是通过可视化控件而不是模型对象来执行该操作
当 TPdfView 绑定到外部 TPdf(赋值 PdfView1.Pdf := Pdf1)时,读取此成员返回与 Pdf1.Annotation 相同的数据,无需另行访问模型组件
TPdf;若想立即重绘,修改后调用 PdfView1.UpdatePage 或 InvalidatePdfView1.Active 为 True,且已绑定有效的 Pdf 组件
if PdfView1.Active then
Memo1.Lines.Add('Annotation = ' + PdfView1.Annotation[0].ContentsText);