UiPath Documentation
activities
latest
false
Document Understanding activities

Convert Text to PDF (preview)

Convert Text to PDF activity parameters, including text input, paper size, font size, text alignment, and output file configuration.

UiPath.PDF.Activities.PDF.NetCore.ConvertTextToPDF

Description

Converts text content into a PDF file.

Project compatibility

Windows | Cross-platform

Configuration

Properties

  • Text - The text content to convert to PDF.

Advanced options

  • Html Header Content - An HTML document to use as a header template.
  • Html Footer Content - An HTML document to use as a footer template.
  • Paper Size - The size of the paper used for conversion. Select one of the following options:
    • A4
    • A3
    • A5
    • A2
    • A6
    • Letter
    • Legal
    • Tabloid
    • Ledger
    • Executive
    • Statement
    • B4
    • B5
    • Number10Envelope
    • DLEnvelope
    • C5Envelope
    • C4Envelope
  • Margin - The margin of the page in points.
  • Scale - The scale of the page rendering. The scale must be greater than or equal to 0.1 and not greater than 2.
  • Font Size - The font size in points used to render the text.
  • Text Alignment - The text alignment on the page. Select one of the following options:
    • Justified
    • Left
    • Right
    • Center
  • Output File Path - The file to write to.

Output

  • Output File - The resulting output file as a resource.
  • Description
  • Project compatibility
  • Configuration
  • Properties
  • Advanced options
  • Output

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated