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.