public static void ConvertInRequestToPath() { string format = ExportFormat.Pdf.ToString(); //PPTX PPSX PPT PPS ODP PDF XPS PS PCL string destFilePath = "output/convertInRequestToPath_out.pdf"; string inputFilePath = "D:/inputFile/convertInRequestToPath.pptx"; System.IO.Stream document = new FileStream(inputFilePath, FileMode.Open); string password = null; generalApi.ConvertInRequestToPath(format, destFilePath, document, password); document.Close(); }