Conversion of documents to pdf
How to convert all file format (like word,excel ....) documents to pdf using asp.net c# and how to save in database as binary data..
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Hussam BarouqaPosted Jul 27, 2017, 2:07 PM
RasterCodecs codecs = new RasterCodecs();
codecs.convert("input.docx", "output.pdf", RasterImageFormat.RasPdfJpeg411, 0, 0, 0, null);
{
var format = DocumentFormat.Pdf;
var jobData = DocumentConverterJobs.CreateJobData(inFile, outFile, format);
jobData.JobName = "conversion job";
var job = documentConverter.Jobs.CreateJob(jobData);
documentConverter.Jobs.RunJob(job);
}
Uehara AyakaPosted Jul 24, 2017, 10:37 PM
Manikandan MurugesanPosted Jul 21, 2017, 11:26 PM