public void GetDocumentPolygonAnnotationsExample() { //ExStart: GetDocumentPolygonAnnotationsExample var response = api.GetDocumentPolygonAnnotations(Name, folder: FolderName); Console.WriteLine(response); //ExEnd: GetDocumentPolygonAnnotationsExample }
public void PutPolygonAnnotationTest() { PolygonAnnotation annotation = new PolygonAnnotation(Rect: new Rectangle(100, 100, 200, 200), Vertices: new List <Point> { new Point(10, 10), new Point(20, 10), new Point(10, 20), new Point(10, 10) }) { Name = "Updated Test", Flags = new List <AnnotationFlags> { AnnotationFlags.Hidden, AnnotationFlags.NoView }, HorizontalAlignment = HorizontalAlignment.Center, RichText = "Rich Text Updated", Subject = "Subj Updated", ZIndex = 1, Title = "Title Updated" }; var lineResponse = PdfApi.GetDocumentPolygonAnnotations(Name, folder: TempFolder); string annotationId = lineResponse.Annotations.List[0].Id; var response = PdfApi.PutPolygonAnnotation(Name, annotationId, annotation, folder: TempFolder); Assert.That(response.Code, Is.EqualTo(200)); }
public void GetPolygonAnnotationTest() { var polygonresponse = PdfApi.GetDocumentPolygonAnnotations(Name, folder: TempFolder); string annotationId = polygonresponse.Annotations.List[0].Id; var response = PdfApi.GetPolygonAnnotation(Name, annotationId, folder: TempFolder); Assert.That(response.Code, Is.EqualTo(200)); }
public void GetDocumentPolygonAnnotationsTest() { var response = api.GetDocumentPolygonAnnotations(Name, folder: FolderName); Console.WriteLine(response); }
public void GetDocumentPolygonAnnotationsTest() { var response = PdfApi.GetDocumentPolygonAnnotations(Name, folder: TempFolder); Assert.That(response.Code, Is.EqualTo(200)); }