public void PutHighlightAnnotationTest() { HighlightAnnotation annotation = new HighlightAnnotation(Rect: new Rectangle(101, 101, 201, 201)) { Name = "Test Highlight Annotation Updated", Flags = new List <AnnotationFlags> { AnnotationFlags.Hidden, AnnotationFlags.NoView }, HorizontalAlignment = HorizontalAlignment.Center, RichText = "Rich Text Updated", Subject = "Subj Updated", ZIndex = 1, Title = "Title Updated", QuadPoints = new List <Point> { new Point(11, 11), new Point(21, 11), new Point(11, 21), new Point(11, 11) }, Modified = "02/02/2018 00:00:00.000 AM" }; var lineResponse = PdfApi.GetDocumentHighlightAnnotations(Name, folder: TempFolder); string annotationId = lineResponse.Annotations.List[0].Id; var response = PdfApi.PutHighlightAnnotation(Name, annotationId, annotation, folder: TempFolder); Assert.That(response.Code, Is.EqualTo(200)); }
public void GetHighlightAnnotationTest() { var Highlightresponse = PdfApi.GetDocumentHighlightAnnotations(Name, folder: TempFolder); string annotationId = Highlightresponse.Annotations.List[0].Id; var response = PdfApi.GetHighlightAnnotation(Name, annotationId, folder: TempFolder); Assert.That(response.Code, Is.EqualTo(200)); }
public void GetDocumentHighlightAnnotationsTest() { var response = api.GetDocumentHighlightAnnotations(Name, folder: FolderName); Console.WriteLine(response); }
public void GetDocumentHighlightAnnotationsTest() { var response = PdfApi.GetDocumentHighlightAnnotations(Name, folder: TempFolder); Assert.That(response.Code, Is.EqualTo(200)); }