TextAnnotation

TextAnnotation

概述

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

一个 /Text(便利贴)annotation:一种没有外观流的图标和弹出标记。

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

属性

名称类型访问描述
Icon`stringundefined`读写
Openboolean读写获取打开状态。
Author`stringundefined`读写
Subtypestring读取获取子类型。
Rect`[number, number, number, number]undefined`读写
Color`[number, number, number]undefined`读写
Contents`stringundefined`读写
Name`stringundefined`读写
Layer`Layerundefined`读写
ModDate`Datestringundefined`
Flagsnumber读写获取标志。
Printboolean读写获取打印。
Hiddenboolean读写获取 hidden。
Opacity`numberundefined`读写

方法

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