Api2pdf.dotnet Versions Save

C# client library for the Api2Pdf.com REST API - Convert HTML to PDF, URL to PDF, Office Docs to PDF, Merge PDFs, HTML to Image, URL to Image, HTML to Docx, HTML to Xlsx, PDF to HTML, Thumbnail preview of office files

2.1.1

1 year ago
  • Updated newtonsoft.json to latest version
  • LibreOffice interface was missing the thumbnail method

2.1

2 years ago

We are proud to announce a new endpoint --> /pdfsharp/extract-pages on our API. This will allow you to specify a page range that will then extract those pages out and produce a new PDF. More details on how the page ranges works here

This release is to add this functionality to the dotnet client library.

We also upgraded the newtonsoft json dependency.

2.0.1

2 years ago

Minor update to support new 'omitBackground' flag in advanced options.

2.0.0

2 years ago

This is a major release which contains breaking changes. You can remain on the older version of this library if you wish to keep using v2018.api2pdf.com. Upgrade is not required, though recommended. We will continue to run the older version of the API indefinitely.

Version 2 of Api2Pdf full REST API documentation located here: https://www.api2pdf.com/documentation/v2

Feature Set:

Chrome

  • HTML to PDF, URL to PDF with added delay and puppeteer features
  • (new) HTML to Image, URL to Image. Useful for taking screenshots of websites.

Wkhtmltopdf

  • HTML to PDF, URL to PDF. Added ability to autogenerate Table of Contents.

LibreOffice

  • Convert any file to PDF (no change here, but better support for .msg and .eml files)
  • (new) Generate an image preview / thumbnail preview of a PDF, Word, Powerpoint, or any other file that LibreOffice can reasonably open. This is fantastic if you want to generate an image preview for your users.
  • (new) HTML to Docx. Now create Word files from HTML!
  • (new) HTML to Xlsx. Create an excel file if you have a well designed HTML with tables!
  • (new) PDF to HTML. Kind of a weird endpoint, but helpful if you want to strip text from a PDF and index the contents.

PdfSharp

  • Merge pdfs together
  • (new) 'Add Bookmarks' endpoint. PDFs have a bookmarks feature and now you can specify those bookmarks with this endpoint
  • (new) 'Password' endpoint. Now password protected PDFs with this endpoint.

On top of these exciting upgrades, this .NET client library got a facelift. Method names have been updated to be better reflect the API. You also now pass in an object that is well defined into the methods. Should cut down on programmer error.

And with all that we have both async and sync methods!

Best, API2PDF team

1.1.0

5 years ago