Add or Replace Strikeout Annotations Information in a PDF Document

Introduction

Aspose.PDF Cloud allows you to add or replace Strikeout Annotation information in a PDF Document. Aspose.PDF Cloud provide the following API to achieve this

API Information

API Type Description Swagger Link
/pdf/{name}/pages/{pageNumber}/annotations/strikeout POST Add document page StrikeOut annotations. PostPageStrikeOutAnnotations
/pdf/{name}/pages/{pageNumber}/annotations/strikeout  PUT Replace document StrikeOut annotationt PutStrikeOutAnnotation

cURL Example

Suppose we have the following Strikeout Annotation information for the document


{

   "Annotations":{

      "List":[

         {

            "QuadPoints":[

               {

                  "X":71.1594,

                  "Y":365.792

               },

               {

                  "X":134.48,

                  "Y":365.792

               },

               {

                  "X":71.1594,

                  "Y":353.209

               },

               {

                  "X":134.48,

                  "Y":353.209

               }

            ],

            "CreationDate":"02/25/2011 01:36:45.000 PM",

            "Subject":"Cross-Out",

            "Title":"Maxim",

            "RichText":"<?xml version=\"1.0\"?><body xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:xfa=\"http://www.xfa.org/schema/xfa-data/1.0/\" xfa:APIVersion=\"Acrobat:7.0.0\" xfa:spec=\"2.0.2\" ><p><span style=\"text-decoration:;font-size:10.0pt\">Contents</span></p></body>",

            "Color":{

               "A":255,

               "R":70,

               "G":162,

               "B":185

            },

            "Contents":"Contents",

            "Modified":"02/25/2011 01:41:43.000 PM",

            "Id":"GI5TCMB3GY3SYMZVGIWDCMZZFQZTMNY",

            "Flags":[

               "Print"

            ],

            "Name":"7c75c4b5-64b8-4a61-a735-1dd45f3515f3",

            "Rect":{

               "LLX":67.407,

               "LLY":352.422,

               "URX":138.233,

               "URY":366.578

            },

            "PageIndex":2,

            "ZIndex":0,

            "HorizontalAlignment":"Left",

            "VerticalAlignment":"Top",

            "Links":[

               {

                  "Href":"http://api.aspose.cloud/v3.0/pdf/PdfWithAnnotations.pdf/pages/2/annotations/GI5TCMB3GY3SYMZVGIWDCMZZFQZTMNY",

                  "Rel":"self",

                  "Type":null,

                  "Title":null

               }

            ]

         }

      ],

      "Links":[

         {

            "Href":"http://api.aspose.cloud/v2.0/pdf/PdfWithAnnotations.pdf/pages/2/annotations/GI5TCMB3GY3SYMZVGIWDCMZZFQZTMNY",

            "Rel":"self",

            "Type":null,

            "Title":null

         }

      ]
{
   "Code":200,
   
   "Status":"OK"
}

cURL Example

PostPageStrikeOutAnnotations Examples

PUTPageStrikeOutAnnotations Examples

SDK Source

The Aspose.PDF Cloud SDKs can be downloaded from the following page: Available SDKs