DocxPDFGeneratorLib 1.0.0

dotnet add package DocxPDFGeneratorLib --version 1.0.0
                    
NuGet\Install-Package DocxPDFGeneratorLib -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DocxPDFGeneratorLib" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DocxPDFGeneratorLib" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="DocxPDFGeneratorLib" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add DocxPDFGeneratorLib --version 1.0.0
                    
#r "nuget: DocxPDFGeneratorLib, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package DocxPDFGeneratorLib@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=DocxPDFGeneratorLib&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=DocxPDFGeneratorLib&version=1.0.0
                    
Install as a Cake Tool

DocumentGeneratorLib

A powerful .NET library for creating and managing documents across multiple formats.

Features

Multi-Format Support - Generate PDF, and Word documents
🎯 Easy to Use - Simple, intuitive API for document creation
🔄 Cross-Platform - Works with .NET Framework 4.7.2 and .NET 9.0
High Performance - Optimized for efficient document generation

Installation

Install DocxPDFGeneratorLib via NuGet Package Manager:

.NET CLI

dotnet add package DocxPDFGeneratorLib

Package Manager Console

Install-Package DocxPDFGeneratorLib

PackageReference

<PackageReference Include="DocxPDFGeneratorLib" Version="1.0.0" />

Quick Start

Creating a Word Document (.docx)

using DocumentGenerator;

// Create a Word document with content
var doc = DocumentFactory.Create("output.docx");

doc.AddHeading("My Document Title", level: 1)
   .AddParagraph("This is a paragraph with some content.", fontSize: 11)
   .AddHeading("Section 1", level: 2)
   .AddParagraph("Here's some more text in section 1.", bold: true)
   .AddPageBreak()
   .AddHeading("Section 2", level: 2)
   .AddParagraph("Content in section 2.")
   .Save("output.docx");

Creating a PDF Document (.pdf)

using DocumentGenerator;

// Create a PDF document with content
var pdf = DocumentFactory.Create("output.pdf");

pdf.SetHeader("My Company")
   .SetFooter("Confidential", includePageNumbers: true)
   .AddHeading("Report Title", level: 1)
   .AddParagraph("This is the introduction paragraph.", fontSize: 11)
   .AddHeading("Overview", level: 2)
   .AddParagraph("Details about the report go here.")
   .Save("output.pdf");

Documentation

For detailed documentation, examples, and API reference, please visit the GitHub repository.

Support

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

Hitesh Modani


⭐ If you find this library useful, please consider giving it a star on GitHub!

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.7.2

    • No dependencies.
  • net9.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on DocxPDFGeneratorLib:

Package Downloads
VirtualDataGridWPF

Lightweight virtualized data grid controls and helpers for WPF applications. Optimized for large datasets with smooth UI virtualization and MVVM-friendly APIs.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 130 5/28/2026

A document generator library for creating and managing documents.