public static void ConvertInRequest() { string inputFilePath = "D:/inputFile/convert.docx"; string format = "postScript";//postScript, pcl, dot, dotx, dotm, docm, odt, wordxml, wordml, pdf, doc, docx, rtf, epub, xps, html string password = null; System.IO.Stream inputfile = new FileStream(inputFilePath, FileMode.Open); convertApi.ConvertInRequest(inputfile, format, password); }