public void GetDocumentPolyLineAnnotationsExample() { //ExStart: GetDocumentPolyLineAnnotationsExample var response = api.GetDocumentPolyLineAnnotations(Name, folder: FolderName); Console.WriteLine(response); //ExEnd: GetDocumentPolyLineAnnotationsExample }
public void PutPolyLineAnnotationTest() { PolyLineAnnotation annotation = new PolyLineAnnotation(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.GetDocumentPolyLineAnnotations(Name, folder: TempFolder); string annotationId = lineResponse.Annotations.List[0].Id; var response = PdfApi.PutPolyLineAnnotation(Name, annotationId, annotation, folder: TempFolder); Assert.That(response.Code, Is.EqualTo(200)); }
public void GetPolyLineAnnotationTest() { var polyLineResponse = PdfApi.GetDocumentPolyLineAnnotations(Name, folder: TempFolder); string annotationId = polyLineResponse.Annotations.List[0].Id; var response = PdfApi.GetPolyLineAnnotation(Name, annotationId, folder: TempFolder); Assert.That(response.Code, Is.EqualTo(200)); }
public void GetDocumentPolyLineAnnotationsTest() { var response = api.GetDocumentPolyLineAnnotations(Name, folder: FolderName); Console.WriteLine(response); }
public void GetDocumentPolyLineAnnotationsTest() { var response = PdfApi.GetDocumentPolyLineAnnotations(Name, folder: TempFolder); Assert.That(response.Code, Is.EqualTo(200)); }