Esempio n. 1
0
        public void HtmlCreatePagesCacheFromUrlTest()
        {
            var file = TestFiles.FromUrlWithNotesPptx;

            var request = new HtmlCreatePagesCacheFromUrlRequest
            {
                Url         = file.Url,
                HtmlOptions = new HtmlOptions
                {
                    EmbedResources = false
                },
                FileName    = null,
                FontsFolder = null,
                Folder      = FromUrlFolder,
                Storage     = null,
            };

            var response = ViewerApi.HtmlCreatePagesCacheFromUrl(request);

            Assert.AreEqual(1, response.Pages.Count);
            Assert.AreEqual("with-notes.pptx", response.FileName);
        }