PSPDFKit-labs / pspdfkit-pdf-generator-csharp

PDF Generation with C# and PSPDFKit API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PDF Generation with C#

This is a PDF Generator API example that creates a receipt PDF from HTML with C#. Replace the {YOUR_API_KEY} placeholder with your live API key from https://dashboard.pspdfkit.com/api_keys/ in Program.cs.

Installation

# Install RestSharp
dotnet add package RestSharp -v 106.15.0

# Run the example
dotnet run

The resulting PDF will be saved in the result.pdf file.

Contributing

Please ensure you have signed our CLA so that we can accept your contributions.

About

PDF Generation with C# and PSPDFKit API

License:SIL Open Font License 1.1


Languages

Language:HTML 40.0%Language:CSS 33.8%Language:C# 26.2%