Strikeout annotations are useful when you need to show that specific text in a PDF should be removed, ignored, or reconsidered without actually deleting it. They are commonly used during document reviews, proofreading, contract revisions, and approvals. Instead of changing the original wording, a strikeout mark makes the affected text clearly visible. This guide explains how to add strikeout annotations to PDF files in C# applications with the robust .NET REST API. It helps you identify the text that needs attention and place a strikeout annotation over it while preserving the underlying PDF content. Text strikeouts enable simultaneous review of the same document and highlight which parts have been questioned or marked for removal.
Steps to Add Strikeout Annotations to PDF in C# .NET
- Install GroupDocs.Annotation Cloud SDK for .NET from NuGet
- Set up your client credentials with the Configuration class
- Initialize the AnnotateApi class and add the source PDF file
- Create a strikeout annotation and define its properties with AnnotationInfo
- Apply the annotation options with AnnotateOptions
- Add a strikeout annotation to the PDF file using the Annotate method
The simple process starts by choosing the PDF file and specifying the text area where the strikeout should appear. You can define the annotation position and other relevant properties before sending the request through the Cloud REST API. The resulting PDF contains the visible strikeout markup and can be used for further review. A PDF strikeout annotation allows reviewers to distinguish proposed deletions from actual changes and gives readers immediate visual context. Considering the annotation is added to the PDF rather than requiring the source document, this approach can be useful when working with documents received from different systems or users. Developers can incorporate strikeout annotations into PDF workflows from C# applications across supported platforms.
Code to Add Strikeout Annotations to PDF in C# .NET
We explored how the GroupDocs.Annotation Cloud .NET SDK provides the tools needed to add strikeout annotations to PDF documents in C#, VB.NET, and ASP.NET applications. It enables the insertion of text-based annotations seamlessly into your document management workflows. Text strikeout markup is a practical way to spot text that needs attention while retaining the original PDF content available for reference. Users reviewing drafts, checking documents for outdated information, or marking proposed deletions can use the .NET REST API for adding strikeout annotations to PDF files on a platform of their choice. Let your end users utilize a visual method to communicate changes in PDF documents.
Refer to our step-by-step guide on adding underline annotations to DOC files using the .NET REST API and discover how to mark important text in word-processing documents.