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

Input parameters for the Create task.

Name Type Default Example Description
Directory String C:\Output F:\outputfiles

PDF document destination Directory.

FileName String example_file.pdf output.pdf

Filename for created PDF file.

FileExistsAction FileExistsActionEnum Error Error

What to do if destination file already exists.

Possible values:

  • Error: Throw error.

  • Overwrite: Overwrite the existing document.

  • Rename: Rename the new document.

Content DocumentContent null

Content elements to render in the PDF document.

Contents PageContentElement[] Array of PageContentElements

Document content.

An unhandled error has occurred. Reload 🗙