StampAnnotation

StampAnnotation

概述

StampAnnotation 是 Aspose.PDF FOSS 中用于 TypeScript 的类。继承自:Annotation。

一个 /Stamp(橡皮图章)注释。

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

属性

名称类型访问描述
StampName`stringundefined`读写
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)在此 StampAnnotation 实例上调用构造函数(doc, Dict)。
Flatten() → boolean仅将此注释烘焙进静态页面内容:在其 /Rect 位置将其 /AP /N 外观绘制到页面的 /Contents 中,并从 /Annots 中移除。
 中文