Document .Net is 100% C# managed library which gives you API to create, parse, load, modify, convert, edit, generate pie charts, merge, do mail merge and digitally sign documents in PDF, DOCX, RTF, HTML and Text formats. Rasterize documents to Images and render to WPF Framework Element. + Completely created in managed C#. No Microsoft Office automation. + Has own DOCX parser and writer according to ECMA-376 specification. + Has own RTF parser and writer according to RTF 1.8 specification. + Has own PDF parser and writer according to PDF reference 1.7. + Has own HTML writer according to HTML5 reference. + Create PDF/A compliance documents. + Digitally sign PDF documents. + Multi-platform: Windows / macOS / Linux.
$ dotnet add package SautinSoft.Document

SautinSoft.Document is .NET assembly (SDK) which gives API to Create, Read, Write, Edit, View, Convert, Merge, Sign Digitally, Find and Replace, Do Reporting with PDF, DOC, DOCX, HTML, RTF and Text documents, Rasterize to Image.
===============================
===============================
===============================
===============================
Are you ready to give Document .NET a try? Simply execute Install-Package sautinsoft.document from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Document .NET and want to upgrade the version, please execute Update-Package sautinsoft.document to get the latest version.
string inpFile = @"..\..\example.docx";
string outFile = @"Result.pdf";
DocumentCore dc = DocumentCore.Load(inpFile);
dc.Save(outFile); // Set a path to our document.
string docPath = @"Result-DocumentBuilder.docx";
// Create a new document and DocumentBuilder.
DocumentCore dc = new DocumentCore();
DocumentBuilder db = new DocumentBuilder(dc);
// Set page size A4.
Section section = db.Document.Sections[0];
section.PageSetup.PaperType = PaperType.A4;
// Add 1st paragraph with formatted text.
db.CharacterFormat.FontName = "Verdana";
db.CharacterFormat.Size = 16;
db.CharacterFormat.FontColor = Color.Orange;
db.Write("This is a first line in 1st paragraph!");
// Save the document to the file in DOCX format.
dc.Save(docPath, new DocxSaveOptions());===============================