StampAnnotation
StampAnnotation
概述
StampAnnotation 是 Aspose.PDF 中的类型.
没有任何其他信息.
这个类型提供了10种方法,用于在Go程序中与 StampAnnotation 对象工作. 有的方法包括: AnnotationType, ClearCustomImage, HasCustomImage, Name, RawName, RegenerateAppearance, SetCustomImage, SetCustomImageFromStream, SetName, SetRawName. 在安装了Aspose.PDF FOSS for Go 包后,所有公众成员都可以访问任何Go应用程序.
方法
| Signature | 描述情况 |
|---|---|
AnnotationType() → AnnotationType | 返回注释类型. |
Name() → StampName | 名称返回从 / Name 中解码的 StampName . |
SetName(n: StampName) | SetName 写出了从输入的StampName 中/名称条目. |
RawName() → string | RawName 返回 /Name输入为原始字符串 ("/Approved",自定义). |
SetRawName(s: string) | SetRawName 写出 /名字输入从原始字符串. |
HasCustomImage() → bool | 如果已调用了HasCustomImage/SetCustomImageFromStream,并且未进行清除的话,则返回true. |
RegenerateAppearance() | 需要从当前状态重建. |
SetCustomImage(path: string) → error | SetCustomImage 将图像嵌入路径中作为邮票的/AP/N视觉,取消预定义名称模板. |
SetCustomImageFromStream(r: io.Reader) → error | SetCustomImageFromStream 是SetCustomImage 的 io.Reader 变种. |
ClearCustomImage() | ClearCustomImage 将/AP/N 转换为预定义名称的模板视觉. |