In this tutorial, we explore converting a Word document to PDF using DynamicPDF Converter. As the tutorial illustrates, converting Word to PDF using DynamicPDF is intuitive and easy. For more information, refer to the accompanying webpage:
You can also access the source code for this tutorial at GitHub:
DynamicPDF Converter for .NET can be downloaded from NuGet:
…(read more)
Convert Word 2 PDF: Word to PDF Converter
Convert PowerPoint 2 PDF: PPT to PDF Converter
Convert Excel 2 PDF: Excel to PDF Converter
Convert an Image 2 PDF: Image to PDF Converter
Convert HTML 2 PDF: HTML to PDF Converter
More Tools: PDF Converter
System.AggregateException: 'One or more errors occurred. (Value cannot be null. (Parameter 'type'))'
I got this Exception during conversion !!!
Sample Code of Mine:
using ceTe.DynamicPDF.Conversion;
WordConversionOptions options = new(false)
{
Author = "A",
TopMargin = 144,
BottomMargin = 72,
LeftMargin = 72,
RightMargin = 72
};
WordConverter wordDocConverter = new("D://download//file-sample_100kB.doc", options);
wordDocConverter.Convert("D://download//sample.pdf");