public void GetDocumentMovieAnnotationsExample()
        {
            //ExStart: GetDocumentMovieAnnotationsExample
            var response = api.GetDocumentMovieAnnotations(Name, folder: FolderName);

            Console.WriteLine(response);
            //ExEnd: GetDocumentMovieAnnotationsExample
        }
        public void GetMovieAnnotationTest()
        {
            var    Movieresponse = PdfApi.GetDocumentMovieAnnotations(Name, folder: TempFolder);
            string annotationId  = Movieresponse.Annotations.List[0].Id;

            var response = PdfApi.GetMovieAnnotation(Name, annotationId, folder: TempFolder);

            Assert.That(response.Code, Is.EqualTo(200));
        }
        public void PutMovieAnnotationTest()
        {
            UploadFile(AttachmentFile, AttachmentFile);
            MovieAnnotation annotation = new MovieAnnotation(Rect: new Rectangle(100, 100, 200, 200))
            {
                Name  = "Updated Test",
                Flags = new List <AnnotationFlags> {
                    AnnotationFlags.Hidden, AnnotationFlags.NoView
                },
                HorizontalAlignment = HorizontalAlignment.Center,
                ZIndex   = 1,
                FilePath = AttachmentFile,
                Modified = "01/01/2018 00:00:00.000 AM"
            };

            var    lineResponse = PdfApi.GetDocumentMovieAnnotations(Name, folder: TempFolder);
            string annotationId = lineResponse.Annotations.List[0].Id;

            var response = PdfApi.PutMovieAnnotation(Name, annotationId, annotation, folder: TempFolder);

            Assert.That(response.Code, Is.EqualTo(200));
        }
Example #4
0
        public void GetDocumentMovieAnnotationsTest()
        {
            var response = api.GetDocumentMovieAnnotations(Name, folder: FolderName);

            Console.WriteLine(response);
        }
        public void GetDocumentMovieAnnotationsTest()
        {
            var response = PdfApi.GetDocumentMovieAnnotations(Name, folder: TempFolder);

            Assert.That(response.Code, Is.EqualTo(200));
        }