代码执行需要引用:gsdll32.dll/// /// Convert PDF To Jpeg /// /// input pdf File/// output jpeg File/// Resolution X/// Resolution Y/// Quality of compression of JPG/// True if the conversion succed!public static bool ConvertPdfToJpeg(string inputFile, string outputFile, int dpiX, int dpiY, int nJPEGLevel){...}参考:http: