示例#1
0
        public void TestPutConvertDocument()
        {
            PdfApi target = new PdfApi(APIKEY, APPSID, BASEPATH);StorageApi storageApi = new StorageApi(APIKEY, APPSID, BASEPATH);

            string format = "tiff";
            string url = null;
            string outPath = null;
            byte[] file = System.IO.File.ReadAllBytes("\\temp\\pdf\\resources\\" + "test.pdf");

            Com.Aspose.PDF.Model.ResponseMessage actual;
            actual = target.PutConvertDocument(format, url, outPath, file);
            Assert.AreNotEqual(null, actual);
            Assert.IsInstanceOfType(new Com.Aspose.PDF.Model.ResponseMessage(), actual.GetType());
        }