/// <summary> /// Convert PDF file to desired format /// </summary> /// <param name="Filename"></param> /// <param name="ConvertFormat"></param> public void PdfFile(string Filename, string ConvertFormat) { Aspose.Cloud.Pdf.Converter converter = new Aspose.Cloud.Pdf.Converter(); Aspose.Cloud.Pdf.SaveFormat format; pdfFormats.TryGetValue(ConvertFormat, out format); converter.ConvertLocalFile(fileName, outputName, format); }
/// <summary> /// Convert PDF file to desired format /// </summary> /// <param name="Filename"></param> /// <param name="ConvertFormat"></param> public void PdfFile(string Filename, string ConvertFormat) { Aspose.Cloud.Pdf.Converter converter = new Aspose.Cloud.Pdf.Converter(); Aspose.Cloud.Pdf.SaveFormat format; pdfFormats.TryGetValue(ConvertFormat, out format); converter.ConvertLocalFile(fileName, outputName, format); }