public static void Run()
        {
            // ExStart:1
            PdfApi     pdfApi     = new PdfApi(Common.APP_KEY, Common.APP_SID, Common.BASEPATH);
            StorageApi storageApi = new StorageApi(Common.APP_KEY, Common.APP_SID, Common.BASEPATH);

            String fileName   = "Sample-Annotation.pdf";
            int    pageNumber = 1;
            String storage    = "";
            String folder     = "";


            try
            {
                // Upload source file to aspose cloud storage
                storageApi.PutCreate(fileName, "", "", System.IO.File.ReadAllBytes(Common.GetDataDir() + fileName));

                // Invoke Aspose.PDF Cloud SDK API to get all annotations from pdf page
                AnnotationsResponse apiResponse = pdfApi.GetPageAnnotations(fileName, pageNumber, storage, folder);

                if (apiResponse != null && apiResponse.Status.Equals("OK"))
                {
                    foreach (Link annotatonLink in apiResponse.Annotations.Links)
                    {
                        Console.WriteLine("Annotation Link :: " + annotatonLink.Href);
                    }
                    Console.ReadKey();
                }
            }
            catch (Exception ex)
            {
                System.Diagnostics.Debug.WriteLine("error:" + ex.Message + "\n" + ex.StackTrace);
            }
            // ExEnd:1
        }
 public void Pdf_Annotations_Tests()
 {
     try
     {
         AnnotationsResponse annotationsResponse = pdfService.Annotations.ReadDocumantPageAnnotations("pdf-sample.pdf", 1, Utils.CloudStorage_Input_Folder);
         AnnotationResponse  annotationResponse2 = pdfService.Annotations.ReadDocumentPageAnnotationByItsNumber("pdf-sample.pdf", 1, 1, Utils.CloudStorage_Input_Folder);
     }
     catch (Exception ex)
     {
         Assert.Fail(ex.Message);
     }
 }