Add or Replace Circle Annotations in a PDF Document


Aspose.PDF Cloud allows you to add or replace Circle 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/circle POST Add document page circle annotations. PostPageCircleAnnotations
/pdf/{name}/pages/{pageNumber}/annotations/circle PUT Replace document circle annotation PutCircleAnnotation

cURL Example

Suppose, we have the following Circle Annotation information which need to be added in a document page.


    "InteriorColor": {

      "A": 255,

      "R": 220,

      "G": 220,

      "B": 220


    "Frame": {

      "LLX": 7.97098,

      "LLY": 8.44714,

      "URX": 7.97102,

      "URY": 8.44716


    "CreationDate": "02/25/2011 01:15:27.000 PM",

    "Subject": "Oval",

    "Title": "Maxim",

    "RichText": "<?xml version=\"1.0\"?><body xmlns=\"\" xmlns:xfa=\"\" 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:16:18.000 PM",


    "Flags": [



    "Name": "7aea0d97-9c56-449f-b716-73e1612c83f8",

    "Rect": {

      "LLX": 155.666,

      "LLY": 563.26,

      "URX": 215.439,

      "URY": 599.148


    "PageIndex": 2,

    "ZIndex": 0,

    "HorizontalAlignment": "Left",

    "VerticalAlignment": "Top",

    "Links": [


        "Href": "/PdfWithAnnotations.pdf/annotations/circle/GI5TCOZRGU2SYNJWGMWDEMJWFQ3DAMA",

        "Rel": "self",

        "Type": null,

        "Title": null




SDK Source

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

SDK Examples

PostPageCircleAnnotations Examples

PutPageCircleAnnotations Examples