Annotation

Annotation

概述

Annotation 是 Aspose.PDF FOSS 中用于 TypeScript 的类。

对注释字典的实时、可变句柄。

此类在 TypeScript 程序中为 Annotation 对象声明了 2 个方法。可用的方法包括:Flatten、constructor。在安装了面向 TypeScript 的 Aspose.PDF FOSS 包后,所有公共成员对任何 TypeScript 应用程序均可访问。属性:Color、Contents、Flags、Hidden、Layer、ModDate,以及另外 5 项。

属性

名称类型访问描述
Subtypestring读取获取子类型。
Rect`[number, number, number, number]undefined`读写
Color`[number, number, number]undefined`读写
Contents`stringundefined`读写
Name`stringundefined`读写
Layer`Layerundefined`读写
ModDate`Datestringundefined`
Flagsnumber读写获取标志。
Printboolean读写获取打印。
Hiddenboolean读写获取隐藏的。
Opacity`numberundefined`读写

方法

签名描述
constructor(doc: Document, Dict: PdfDict)在此 Annotation 实例上调用 constructor(doc, Dict)。
Flatten() → boolean仅将此注释烘焙进静态页面内容:在页面的 /Contents 中于其 /Rect 位置绘制其 /AP /N 外观,并从 /Annots 中移除。
 中文