向多种文件类型添加评论、高亮和形状。
对文本进行标记并绘制注释,以协作处理文档。
使用我们的高级功能管理、导入和导出注释。
一种在 PDF、Office 文档、图像和其他业务文件中添加和管理注释的解决方案。
轻松在文档中高亮、下划线、删除线或替换文本。
在任意页面添加区域、椭圆、点、箭头、距离和折线形状。
为任何注释附加带有作者和时间戳的线程式审阅评论。
在受支持的格式中添加、获取、删除、导入和导出注释。
GroupDocs.Annotation 注释操作的典型用例。
// 使用 Annotator 实例打开文档
using (Annotator annotator = new Annotator("input.pdf"))
{
// 创建并配置注释
AreaAnnotation area = new AreaAnnotation
{
Box = new Rectangle(100, 100, 200, 80),
BackgroundColor = 65535,
PageNumber = 0
};
// 添加注释并保存结果
annotator.Add(area);
annotator.Save("annotated.pdf");
}
// 使用 Annotator 实例打开文档
Annotator annotator = new Annotator("input.pdf");
try
{
// 创建并配置注释
AreaAnnotation area = new AreaAnnotation();
area.setBox(new Rectangle(100, 100, 200, 80));
area.setBackgroundColor(65535);
area.setPageNumber(0);
// 添加注释并保存结果
annotator.add(area);
annotator.save("annotated.pdf");
}
finally { annotator.dispose(); }
from groupdocs.annotation import Annotator
from groupdocs.annotation.models import Rectangle
from groupdocs.annotation.models.annotation_models import AreaAnnotation
from groupdocs.pydrawing import Color
# 使用 Annotator 实例打开文档
with Annotator("input.pdf") as annotator:
# 创建并配置注释
area = AreaAnnotation()
area.box = Rectangle(100, 100, 200, 80)
area.background_color = Color.yellow.to_argb()
area.page_number = 0
# 添加注释并保存结果
annotator.add(area)
annotator.save("annotated.pdf")
GroupDocs.Annotation 支持在所有广泛使用的业务文件格式上进行注释操作。
发现突显我们库成功的关键指标
GroupDocs.Annotation 支持超过 30 种常用文件格式的操作。
支持 17+ 种注释类型——从区域和箭头形状到文本标记和水印。
使用单一一致的 API 在 .NET、Java 和 Python 上构建注释功能。
全球企业和个人开发者都依赖 GroupDocs 产品构建创新解决方案。
GroupDocs 库受到全球认可和受尊敬的品牌信赖。
GroupDocs.Annotation 库支持以下操作系统和框架:
对最常见问题的回答。
基于网页的应用,可直接在浏览器中对超过 30 种流行文件格式进行注释。