Refer the following Link : Syncfusion's Essential PDF will handle these formats directly, as well as providing a programmatic API which you can use to add other formats.
You can do this with a professional toolkit like LEADTOOLS (https://www.leadtools.com/downloads?category=main) which has image and document conversion as well as OCR features that you can use.
To convert a document (like a DOCX file) into PDF, there is .NET code you can implement as a service:
Manikandan MurugesanRank #300 · 8.4K reputationPosted Jul 21, 2017, 7:26 PM EDT
Uehara AyakaRank #2,730 · 512 reputationPosted Jul 24, 2017, 6:37 PM EDT
Hussam BarouqaRank #6,374 · 268 reputationPosted Jul 27, 2017, 10:07 AM EDT
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);
}
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts