SautinSoft.PdfMetamorphosis is .NET assembly (SDK) which gives API to convert Text, HTML, RTF, DOC and DOCX documents to PDF format.
- Convert DOCX file to PDF file.
- Convert RTF file to PDF file.
- Convert HTML file to PDF file.
- Convert Text file to PDF file.
- Split and Merge PDF files.
- .NET Framework 4.6.2 - 4.8
- .NET Core 2.0 - 3.1, .NET 5, 6, 7, 8
- .NET Standard 2.0
- Windows, Linux, macOS, Android, iOS.
Are you ready to give PDF Metamorphosis .NET a try? Simply execute Install-Package sautinsoft.pdfmetamorphosis
from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have PDF Metamorphosis .NET and want to upgrade the version, please execute Update-Package sautinsoft.pdfmetamorphosis
to get the latest version.
string docxPath = @"..\..\example.docx";
string pdfPath = Path.ChangeExtension(docxPath, ".pdf");
SautinSoft.PdfMetamorphosis p = new SautinSoft.PdfMetamorphosis();
p.DocxToPdfConvertFile(docxPath, pdfPath);
string inputFile = @"..\..\example.htm";
string outputFile = @"..\..\test.pdf";
SautinSoft.PdfMetamorphosis p = new SautinSoft.PdfMetamorphosis();
p.HtmlToPdfConvertFile(inputFile, outputFile);
string[] pdfFiles = { @"..\..\test-00001.pdf", @"..\..\test-00002.pdf" };
SautinSoft.PdfMetamorphosis p = new SautinSoft.PdfMetamorphosis();
p.MergePDFFileArrayToPDFFile(pdfFiles, @"..\..\test_Split_and_Merge_1and2page.pdf");