How to write to a PDF in UiPath?

I want to know that how can i create a pdf and write text in that pdf.

1 Like

If you want to create your own content in PDF file means…

Write your content in word document by using Word Application Scope
And Convert your word document into PDF file by Using Export to PDF Activity

Poovarasan Guna,

1 Like

I have attached the image of my code. When i run this code it creates 3 files

  1. PdfDoc of type File
  2. PdfDoc of type Microsoft Word Document
  3. PdfDoc of type Adobe Acrobat Document

In 1 (PdfDoc of type File) Hello is written and other two files are blank.
What changes do i have to make so that it works correctly ?

1 Like