跳至页脚内容
PDF 工具

如何在 PDF 文件中添加注释(初学者教程)

在当今数字时代,PDF(便携式文档格式)已成为在各种平台和设备上共享和保存文档的标准。 无论您是学生、专业人士,还是只是处理电子文档,使用 PDF 批注和编辑工具批注 PDF 的能力都是一项关键技能。 PDF 批注允许您突出显示重要点,使用评论工具栏和文本框添加评论,并直接在文档上做笔记,从而增强协作和理解。 在本指南中,我们将引导您了解如何使用不同的 PDF 批注工具和方法对 PDF 进行批注的过程。

内置 PDF 批注工具

许多 PDF 查看器和编辑器都配备有内置的 PDF 批注工具,使批注 PDF 的过程相对简单。 这是使用流行 PDF 应用程序的分步指南。

使用 Adobe Acrobat Reader 批注 PDF 文档

Adobe Acrobat DC 是最广泛使用的 PDF 查看器之一,提供强大的批注工具功能。

打开 PDF

使用 Adobe Acrobat Reader 打开您的 PDF 文档。

如何批注 PDF 文件(初学者教程):图 1 - PDF 文档

访问批注工具

打开文档后,批注工具会显示为弹出提醒。 然而,您还可以通过在“所有工具”菜单下点击“添加评论”选项卡来打开它。

如何批注 PDF 文件(初学者教程):图 2 - 批注工具

突出显示文本

点击高亮工具,选择您喜欢的颜色。

如何批注 PDF 文件(初学者教程):图 3 - 高亮工具

选择您想要突出显示的文本,如下所示。

如何批注 PDF 文件(初学者教程):图 4 - 文本选择

添加评论

要添加评论或便签,请从工具中点击“添加评论”图标。

如何批注 PDF 文件(初学者教程):图 5 - 添加评论

将鼠标光标移动到相关部分附近。 在弹出框中输入您的评论,如下所示。

如何批注 PDF 文件(初学者教程):图 6 - 评论

添加文本框

您可以通过选择菜单中的文本框选项来添加文本框,如下所示。

如何批注 PDF 文件(初学者教程):图 7 - 文本框

将光标移动到您想要添加文本的地方,输入您的文本,并设置字号和样式,如下所示。

如何批注 PDF 文件(初学者教程):图 8 - 添加文本

可以使用其他选项,例如添加勾、签名、缩写和上传文件。 通过这种方式,我们可以轻松地批注 PDF 文件。

保存和分享

完成批注后,保存 PDF 文件,然后可以将已批注的文档分享给其他人。

使用 Microsoft Edge 批注 PDF 文件

如果您使用的是 Windows 10 或更高版本,Microsoft Edge 提供基本的 PDF 批注功能。

打开 PDF

右键点击 PDF 文件并选择“打开方式” > “Microsoft Edge”。

如何批注 PDF 文件(初学者教程):图 9 - 打开 PDF

访问 PDF 批注工具

点击文档右上角的笔图标以访问批注工具。

突出显示文本

点击刷子图标并选择要突出显示的文本。

如何批注 PDF 文件(初学者教程):图 10 - 刷子图标

添加绘图

您还可以通过选择顶部工具栏中的绘图图标来添加绘图。 这是帮助您绘图的工具,如下所示。

如何批注 PDF 文件(初学者教程):图 11 - 绘图图标

第三方 PDF 批注工具

除了内置工具,还有许多第三方应用程序和专为 PDF 批注设计的在线平台。 您可以在 Google 上搜索在线 PDF 编辑器来批注 PDF 文件,并使用您喜欢的工具批注 PDF 文档。

移动应用程序的 PDF 批注

如果您更喜欢在移动设备上批注 PDF,许多应用程序提供类似的批注功能。 Adobe Acrobat Reader、GoodNotes 和 Notability 是 iOS 和 Android 平台上的热门选项。 只需下载应用程序,打开 PDF,并使用提供的批注工具标记文档。

以编程方式批注 PDF 文件

对于开发人员,以编程方式批注 PDF 提供了自动化和定制化的可能性。 IronPDF 是一个强大的 .NET 库,使开发人员能够以编程方式处理 PDF 文档,包括批注和修改。 在进一步操作之前,让我们简单介绍一下 IronPDF。

IronPDF。

探索 IronPDF 功能是一个强大的 .NET 库,旨在为开发人员提供直接在应用程序中无缝操作、生成和管理 PDF 文档的能力。 提供了一整套工具,IronPDF 促进了 PDF 文件的动态创建,现有文件的修改,甚至可以以编程方式添加批注。 这个库在简化与文档相关的工作流程方面发挥着关键作用,使开发人员能够在 C# 环境中利用自动化和定制化,并有效地生产、编辑和增强 PDF,以满足广泛的应用需求。 以下是如何使用 IronPDF 在 C# 中批注 PDF 文件

// C# code for annotating a PDF file using IronPDF.

// Import IronPDF library
using IronPdf;

// Example method to demonstrate PDF annotation
public static void AnnotatePdf(string inputFilePath, string outputFilePath)
{
    // Create a new instance of the IronPdfRenderer
    var pdfRenderer = new IronPdf.PdfDocument();

    // Load an existing PDF document
    var pdfDocument = PdfDocument.FromFile(inputFilePath);

    // Access a specific page in the PDF
    var pdfPage = pdfDocument.Pages[0];

    // Add a simple text annotation on the top-right corner of the page
    pdfPage.Annotations.AddTextAnnotation("Sample Annotation", new PdfPoint(500, 750));

    // Highlight text at specified positions (e.g., positions can be obtained from coordinate mapping or OCR)
    pdfPage.Annotations.HighlightText(PdfMarker.CreateRectangle(100, 500, 200, 50), System.Drawing.Color.Yellow);

    // Save the annotated PDF to a new file
    pdfDocument.SaveAs(outputFilePath);
}
// C# code for annotating a PDF file using IronPDF.

// Import IronPDF library
using IronPdf;

// Example method to demonstrate PDF annotation
public static void AnnotatePdf(string inputFilePath, string outputFilePath)
{
    // Create a new instance of the IronPdfRenderer
    var pdfRenderer = new IronPdf.PdfDocument();

    // Load an existing PDF document
    var pdfDocument = PdfDocument.FromFile(inputFilePath);

    // Access a specific page in the PDF
    var pdfPage = pdfDocument.Pages[0];

    // Add a simple text annotation on the top-right corner of the page
    pdfPage.Annotations.AddTextAnnotation("Sample Annotation", new PdfPoint(500, 750));

    // Highlight text at specified positions (e.g., positions can be obtained from coordinate mapping or OCR)
    pdfPage.Annotations.HighlightText(PdfMarker.CreateRectangle(100, 500, 200, 50), System.Drawing.Color.Yellow);

    // Save the annotated PDF to a new file
    pdfDocument.SaveAs(outputFilePath);
}
' C# code for annotating a PDF file using IronPDF.

' Import IronPDF library
Imports IronPdf

' Example method to demonstrate PDF annotation
Public Shared Sub AnnotatePdf(ByVal inputFilePath As String, ByVal outputFilePath As String)
	' Create a new instance of the IronPdfRenderer
	Dim pdfRenderer = New IronPdf.PdfDocument()

	' Load an existing PDF document
	Dim pdfDocument = PdfDocument.FromFile(inputFilePath)

	' Access a specific page in the PDF
	Dim pdfPage = pdfDocument.Pages(0)

	' Add a simple text annotation on the top-right corner of the page
	pdfPage.Annotations.AddTextAnnotation("Sample Annotation", New PdfPoint(500, 750))

	' Highlight text at specified positions (e.g., positions can be obtained from coordinate mapping or OCR)
	pdfPage.Annotations.HighlightText(PdfMarker.CreateRectangle(100, 500, 200, 50), System.Drawing.Color.Yellow)

	' Save the annotated PDF to a new file
	pdfDocument.SaveAs(outputFilePath)
End Sub
$vbLabelText   $csharpLabel

结论

批注 PDF 是一种增强协作、提高信息保留和简化文档审核流程的基本技能。 无论您是使用内置工具还是第三方应用程序,突出显示、评论、添加便签和标记 PDF 的能力都提供了一种与电子文档互动的多功能而有效的方法。 此外,对于开发人员,IronPDF 提供了一个强大的解决方案,可以使用绘图工具以编程方式批注 PDF 文件,使批注过程自动化和定制化。 通过遵循本指南中的步骤,您可以将批注功能(如便签)集成到您的应用程序中,为用户提供使用标记工具的能力,并根据需要增强 PDF 文档。 IronPDF 的功能使您能够创建适用于广泛用例的多功能和交互式 PDF 文档,从文档审核到协作编辑到自由绘图工具。 IronPDF is available at a very low cost with a free trial option.

Curtis Chau
技术作家

Curtis Chau 拥有卡尔顿大学的计算机科学学士学位,专注于前端开发,精通 Node.js、TypeScript、JavaScript 和 React。他热衷于打造直观且美观的用户界面,喜欢使用现代框架并创建结构良好、视觉吸引力强的手册。

除了开发之外,Curtis 对物联网 (IoT) 有浓厚的兴趣,探索将硬件和软件集成的新方法。在空闲时间,他喜欢玩游戏和构建 Discord 机器人,将他对技术的热爱与创造力相结合。