public void GetDocumentInkAnnotationsExample() { //ExStart: GetDocumentInkAnnotationsExample var response = api.GetDocumentInkAnnotations(Name, folder: FolderName); Console.WriteLine(response); //ExEnd: GetDocumentInkAnnotationsExample }
public void GetInkAnnotationTest() { var Inkresponse = PdfApi.GetDocumentInkAnnotations(Name, folder: TempFolder); string annotationId = Inkresponse.Annotations.List[0].Id; var response = PdfApi.GetInkAnnotation(Name, annotationId, folder: TempFolder); Assert.That(response.Code, Is.EqualTo(200)); }
public void PutInkAnnotationTest() { InkAnnotation annotation = new InkAnnotation() { Name = "Test Ink Annotation Updated", Rect = new Rectangle(101, 101, 201, 201), Flags = new List <AnnotationFlags> { AnnotationFlags.Hidden, AnnotationFlags.NoView }, HorizontalAlignment = HorizontalAlignment.Center, RichText = "Rich Text Updated", Subject = "Subj Updated", ZIndex = 1, Title = "Title Updated", InkList = new List <List <Point> > { new List <Point> { new Point(10, 40), new Point(30, 40) }, new List <Point> { new Point(10, 20), new Point(20, 20), new Point(30, 20) } }, CapStyle = CapStyle.Rounded, Modified = "02/02/2018 00:00:00.000 AM" }; var lineResponse = PdfApi.GetDocumentInkAnnotations(Name, folder: TempFolder); string annotationId = lineResponse.Annotations.List[0].Id; var response = PdfApi.PutInkAnnotation(Name, annotationId, annotation, folder: TempFolder); Assert.That(response.Code, Is.EqualTo(201)); }
public void GetDocumentInkAnnotationsTest() { var response = api.GetDocumentInkAnnotations(Name, folder: FolderName); Console.WriteLine(response); }
public void GetDocumentInkAnnotationsTest() { var response = PdfApi.GetDocumentInkAnnotations(Name, folder: TempFolder); Assert.That(response.Code, Is.EqualTo(200)); }