RedactAnnotation

RedactAnnotation

概述

RedactAnnotation 是 Aspose.PDF FOSS 为 TypeScript 提供的类。继承自:Annotation。

一个 /Redact 注释 (PDF 32000-1 §12.5.6.23):a mark 在一个区域上,加上 用于在应用时绘制的覆盖层。

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

属性

名称类型访问描述
QuadPointsnumber[]读写获取四边形点。
InteriorColor`[number, number, number]undefined`读写
Alignment`‘left’‘center’‘right’`
OverlayText`stringundefined`读写
Repeatboolean读写获取重复。
FontSizenumber读写获取字体大小。
TextColor[number, number, number]读写获取文本颜色。
Author`stringundefined`读写
Overlay`PdfStreamundefined`读取
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)在此 RedactAnnotation 实例上调用构造函数(doc, Dict)。
Flatten() → boolean仅将此批注烘焙进静态页面内容:在页面的 /Contents 中于其 /Rect 位置绘制其 /AP /N 外观,并从 /Annots 中移除。
 中文