Pdf

Frends.Pdf.Create / 3.0.0

Summary

Produces a PDF from the content you give it, deciding what happens if the target file already exists.

Typical use — generating documents meant to be archived or sent on, where the layout should not depend on the reader's software

Details

Frends version
5.7 and newer
Agent
Crossplatform
Target framework
net8.0
3.0.02026-08-17
Changed
  • Breaking Task input parameters (output file properties, document settings, and content) are now grouped under Input and Options parameter to align with Frends platform standards.
  • Task method now requires a CancellationToken parameter.
  • The Options class now includes an ErrorMessageOnFailure property, allowing you to customize the error message returned or thrown when the task fails.
  • When ThrowErrorOnFailure is false, the result now includes an Error object with the failure details.
2.2.02026-05-28
Changed
  • Removed outdated Linux package requirements from the documentation
2.1.02026-05-06
Fixed
  • Fallback font is now used as an error font as well.
  • Add bundled font to use in case any other font can't be resolved.
2.0.02026-02-03
Changed
  • Breaking Upgrade to .net8.0
  • Breaking Remove the deprecated option to choose Unicode vs. ANSI text (Code is always Unicode now)
Added
  • Add an option to set up a custom fonts directory
  • Add an option to set up the default font
  • Add support for Linux systems
Fixed
  • Resolve issues with not responsive Windows GDI methods (Failing to get fonts)
1.2.02026-02-03
Changed
  • Rename task prefix from PDF to Pdf
1.1.02024-08-23
Changed
  • Updated the Newtonsoft.Json package to version 13.0.3.
1.0.12023-03-01
Fixed
  • Fixed document link to task portal.
  • Added requirements to the summary.
1.0.02022-05-10
Added
  • Initial implementation of Frends.PDF.Create.
An unhandled error has occurred. Reload 🗙