DocumentGeneratorLib 1.0.0
dotnet add package DocumentGeneratorLib --version 1.0.0
NuGet\Install-Package DocumentGeneratorLib -Version 1.0.0
<PackageReference Include="DocumentGeneratorLib" Version="1.0.0" />
<PackageVersion Include="DocumentGeneratorLib" Version="1.0.0" />
<PackageReference Include="DocumentGeneratorLib" />
paket add DocumentGeneratorLib --version 1.0.0
#r "nuget: DocumentGeneratorLib, 1.0.0"
#:package DocumentGeneratorLib@1.0.0
#addin nuget:?package=DocumentGeneratorLib&version=1.0.0
#tool nuget:?package=DocumentGeneratorLib&version=1.0.0
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 DocumentGeneratorLib via NuGet Package Manager:
.NET CLI
dotnet add package DocumentGeneratorLib
Package Manager Console
Install-Package DocumentGeneratorLib
PackageReference
<PackageReference Include="DocumentGeneratorLib" 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
- 📧 Issues: Report bugs or request features on GitHub Issues
- 💬 Discussions: Join the community on GitHub Discussions
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 | Versions 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. |
-
.NETFramework 4.7.2
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|
A document generator library for creating and managing documents.