public void TestPutDocumentSaveAsTiff() { PdfApi target = new PdfApi(APIKEY, APPSID, BASEPATH); StorageApi storageApi = new StorageApi(APIKEY, APPSID, BASEPATH); string name = "test.pdf"; string resultFile = "test.tiff"; float? brightness = null; string compression = null; string colorDepth = null; int? leftMargin = null; int? rightMargin = null; int? topMargin = null; int? bottomMargin = null; string orientation = null; bool? skipBlankPages = false; int? width = null; int? height = null; int? xResolution = null; int? yResolution = null; int? pageIndex = null; int? pageCount = null; string storage = null; string folder = null; Com.Aspose.PDF.Model.TiffExportOptions body = new Com.Aspose.PDF.Model.TiffExportOptions(); storageApi.PutCreate(name, null, null, System.IO.File.ReadAllBytes("\\temp\\pdf\\resources\\" + name)); Com.Aspose.PDF.Model.SaaSposeResponse actual; actual = target.PutDocumentSaveAsTiff(name, resultFile, brightness, compression, colorDepth, leftMargin, rightMargin, topMargin, bottomMargin, orientation, skipBlankPages, width, height, xResolution, yResolution, pageIndex, pageCount, storage, folder, body); Assert.AreEqual("200", actual.Code); Assert.IsInstanceOfType(new Com.Aspose.PDF.Model.SaaSposeResponse(), actual.GetType()); }