public void Pdf_Tests() { try { PDFDocumentResponse pdfDocumentResponse = pdfService.ReadCommonDocumentInfo("pdf-sample.pdf", Utils.CloudStorage_Input_Folder); PDFDocumentSplitResponse fDocumentSplitResponse = pdfService.SplitDocumentToParts("pdf-sample.pdf", Utils.CloudStorage_Input_Folder, PDFOutputFormat.Pdf); pdfService.ConvertDocumentFromURL(PDFDocumentConvertFormat.Doc, "http://cdn.aspose.com/tmp/pdf-sample.pdf", Utils.Local_Output_Path + "pdf-out.doc"); PDFDocumentResponse pdfDocumentResponse2 = pdfService.CreateEmptyNewDocument("pdf-created.pdf", Utils.CloudStorage_Output_Folder); PDFDocumentResponse pdfDocumentResponse3 = pdfService.CreateNewDocument("pdf-created.pdf", PDFTemplateType.Html, Utils.CloudStorage_Input_Folder + "/html-sample.html", string.Empty, Utils.CloudStorage_Output_Folder); pdfService.ConvertDocument(PDFDocumentConvertFormat.Doc, Utils.Local_Input_Path + "pdf-sample.pdf", Utils.Local_Output_Path + "pdf-out.doc"); } catch (Exception ex) { Assert.Fail(ex.Message); } }