Reading Circle Annotation Information from a PDF Document
Contents
[
Hide
]
Introduction
Aspose.PDF Cloud allows you to read Circle Annotation information from a PDF Doucment. Aspose.PDF Cloud provide the following API to achieve this
API Information
API | Type | Description | Swagger Link |
---|---|---|---|
/pdf/{name}/annotations/circle | GET | Read Document Circle Annotations | GetDocumentCircleAnnotations |
/pdf/{name}/pages/{pageNumber}/annotations/cirlce | GET | Read Document Annotations from a Page in PDF Document | GetPageCircleAnnotations |
/pdf/{name}/annotations/cirlce/{annotationId} | GET | Read Annotation by ID | GetCircleAnnotation |
cURL Example
We have used PdfWithAnnotations.pdf for the example below. In this example we are demonstration /pdf/{name}/annotations/circle/{annotationId} resource to read Annotation Information by ID. You can use /pdf/{name}/annotations/circle or /pdf/{name}/annotations/circle to get the desired annotation identifier. The above resources return the following Circle Annotation information for the document
{
"Annotations":{
"List":[
{
"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=\"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:16:18.000 PM",
"Id":"GI5TCOZRGU2SYNJWGMWDEMJWFQ3DAMA",
"Flags":[
"Print"
],
"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":"http://api.aspose.cloud/v2.0/pdf/PdfWithAnnotations.pdf/pages/2/annotations/GI5TCOZRGU2SYNJWGMWDEMJWFQ3DAMA",
"Rel":"self",
"Type":null,
"Title":null
}
]
}
],
"Links":[
{
"Href":"http://api.aspose.cloud/v2.0/pdf/PdfWithAnnotations.pdf/pages/2/annotations/GI5TCOZRGU2SYNJWGMWDEMJWFQ3DAMA",
"Rel":"self",
"Type":null,
"Title":null
}
]
},
"Code":200,
"Status":"OK"
}
SDK Source
The Aspose.PDF Cloud SDKs can be downloaded from the following page: Available SDKs