How to write to a PDF in UiPath?

pdf
activities
studio

#1

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


#2

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

Regards,
Poovarasan Guna,


#3

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 ?