public void GetDocumentFileAttachmentAnnotationsExample() { //ExStart: GetDocumentFileAttachmentAnnotationsExample var response = api.GetDocumentFileAttachmentAnnotations(Name, folder: FolderName); Console.WriteLine(response); //ExEnd: GetDocumentFileAttachmentAnnotationsExample }
public void PutFileAttachmentAnnotationTest() { UploadFile(AttachmentFile, AttachmentFile); FileAttachmentAnnotation annotation = new FileAttachmentAnnotation(Rect: new Rectangle(100, 100, 200, 200)) { 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", Modified = "01/01/2018 00:00:00.000 AM", FilePath = Path.Combine(TempFolder, AttachmentFile), FileName = AttachmentFile }; var lineResponse = PdfApi.GetDocumentFileAttachmentAnnotations(Name, folder: TempFolder); string annotationId = lineResponse.Annotations.List[0].Id; var response = PdfApi.PutFileAttachmentAnnotation(Name, annotationId, annotation, folder: TempFolder); Assert.That(response.Code, Is.EqualTo(200)); }
public void PutFileAttachmentAnnotationDataExtractTest() { var annotationresponse = PdfApi.GetDocumentFileAttachmentAnnotations(Name, folder: TempFolder); string annotationId = annotationresponse.Annotations.List[0].Id; var response = PdfApi.PutFileAttachmentAnnotationDataExtract(Name, annotationId, folder: TempFolder); Assert.That(response.Code, Is.EqualTo(200)); }
public void GetFileAttachmentAnnotationDataTest() { var annotationresponse = PdfApi.GetDocumentFileAttachmentAnnotations(Name, folder: TempFolder); string annotationId = annotationresponse.Annotations.List[0].Id; var response = PdfApi.GetFileAttachmentAnnotationData(Name, annotationId, folder: TempFolder); Assert.That(response.Length, Is.GreaterThan(0)); }
public void GetDocumentFileAttachmentAnnotationsTest() { var response = PdfApi.GetDocumentFileAttachmentAnnotations(Name, folder: TempFolder); Assert.That(response.Code, Is.EqualTo(200)); }
public void GetDocumentFileAttachmentAnnotationsTest() { var response = api.GetDocumentFileAttachmentAnnotations(Name, folder: FolderName); Console.WriteLine(response); }