RedactionAnnotation
概述
RedactionAnnotation 是 Aspose.PDF 为 C++ 提供的 FOSS 中的一个类。
RedactionAnnotation 允许您永久删除内容,同时可以选择性地覆盖自定义文本、填充颜色、边框颜色和字体大小。
此类提供了 19 种方法,用于在 C++ 程序中处理 RedactionAnnotation 对象。可用的方法包括:Accept、BorderColor、DefaultAppearance、FillColor、Flatten、FontSize、OverlayText、QuadPoint、Redact、Repeat、TextAlignment。在安装 Aspose.PDF 为 C++ 提供的 FOSS 包后,所有公共成员均可被任何 C++ 应用程序访问。
方法
| 签名 | 描述 |
|---|---|
Accept(visitor: AnnotationSelector) | 在此 RedactionAnnotation 实例上调用 Accept(visitor)。 |
Flatten() | 在此 RedactionAnnotation 实例上调用 Flatten。 |
Redact() | 在此 RedactionAnnotation 实例上调用 Redact。 |
QuadPoint() → std::vector<Aspose::Pdf::Point> | 在此 RedactionAnnotation 实例上调用 QuadPoint。 |
QuadPoint(value: std::vector<Aspose::Pdf::Point>) | 在此 RedactionAnnotation 实例上调用 QuadPoint(value)。 |
DefaultAppearance() → std::string | 在此 RedactionAnnotation 实例上调用 DefaultAppearance。 |
DefaultAppearance(value: std::string) | 在此 RedactionAnnotation 实例上调用 DefaultAppearance(value)。 |
FillColor() → Aspose::Pdf::Color | 在此 RedactionAnnotation 实例上调用 FillColor。 |
FillColor(value: Aspose::Pdf::Color) | 在此 RedactionAnnotation 实例上调用 FillColor(value)。 |
BorderColor() → Aspose::Pdf::Color | 在此 RedactionAnnotation 实例上调用 BorderColor。 |
BorderColor(value: Aspose::Pdf::Color) | 在此 RedactionAnnotation 实例上调用 BorderColor(value)。 |
OverlayText() → std::string | 在此 RedactionAnnotation 实例上调用 OverlayText。 |
OverlayText(value: std::string) | 在此 RedactionAnnotation 实例上调用 OverlayText(value)。 |
FontSize() → float | 在此 RedactionAnnotation 实例上调用 FontSize。 |
FontSize(value: float) | 在此 RedactionAnnotation 实例上调用 FontSize(value)。 |
Repeat() → bool | 在此 RedactionAnnotation 实例上调用 Repeat。 |
Repeat(value: bool) | 在此 RedactionAnnotation 实例上调用 Repeat(value)。 |
TextAlignment() → Aspose::Pdf::HorizontalAlignment | 在此 RedactionAnnotation 实例上调用 TextAlignment。 |
TextAlignment(value: Aspose::Pdf::HorizontalAlignment) | 在此 RedactionAnnotation 实例上调用 TextAlignment(value)。 |