MarketplaceStudioActivityConvert .txt to PDF and PDF to .txt

Create your first automation in just a few minutes.Try Studio Web

Convert .txt to PDF and PDF to .txt

Convert .txt to PDF and PDF to .txt

by Omkar P

3

Activity

Downloads

4k

seda Hatinoğlu
Posted a year ago

 hi, What is the unvalid directory name issue? What is the reason? I could not attach screenshot. These are my inputs:

  • Source Path : "C:\Users\z003whpw\Desktop\DOM-1838277_Clarification-232501.txt"
  • Destination Path : "C:\Users\z003whpw\Desktop\DOM-1838277_Clarification-232501.pdf"
Kiel Trotter
Posted 3 years ago

Ran into an issue where the system is trying to use File but reference is ambogious between Microsoft.Graph.File and System.IO.File. Does not run. Are there plans for an update?

HENRY CHAI
Posted 4 years ago

Hi OmKar Sir,

Please advise me how do I install this activity, as I need to use it.

I am using the UiPath Studio Pro 2021.4.4 Community License at the moment and will be

using the License copy soon.

Your reply is very much appreciated.

Convert .txt to PDF and PDF to .txt

???

h.chai7732@gmail.com

h.chai9298@gmail.com

Haha TV
Posted 4 years ago

Hi Omkar,

Can it supports other language? seems currently it only support English

Abdullah Lingga
Posted 4 years ago

Hi Omkar,

Activity works great. Thank you. Just want to ask if its possible to update the font size of the generated PDF?

Darani Chebrolu
Posted 4 years ago

Hi Omkar,

Is this Activity/Package compatible with Studio 2020.10.2?

I was not able to find namespace iTextSharp 5.5.13.1

So, without importing that namespace I tried to run the activity and got the below errors:

1. When I have provided complete filepaths including .txt and .pdf, it has thrown the exception "The directory name is invalid."

2. When I just gave Folderpath's, it has thrown the exception

"Pdf Text Converter: No compiled code to run

error CS0246: The type or namespace name 'Document' could not be found (are you missing a using directive or an assembly reference?) At line 10

error CS0246: The type or namespace name 'Document' could not be found (are you missing a using directive or an assembly reference?) At line 10

error CS0246: The type or namespace name 'PdfWriter' could not be found (are you missing a using directive or an assembly reference?) At line 11

error CS0103: The name 'PdfWriter' does not exist in the current context At line 11

error CS0246: The type or namespace name 'Paragraph' could not be found (are you missing a using directive or an assembly reference?) At line 13

"

Could you please advise.

Thanks,

Darani.

Joe Preziuso
Posted 5 years ago

Ah I see, only the folder, not the file. Thank you so much!

Omkar P
Posted 5 years ago ago

Welcome

If you need any help let me know.

Joe Preziuso
Posted 5 years ago

Hi Omkar,

I cannot figure out how to reply to your response. I do not have a screenshot but I was getting an error saying the input path was invalid.

Could you explain what type of values should go into SourceFolderPath and DestinationFolderPath? Should they be full paths to files, one with .txt and one with .pdf? Should they be variables? If possible, just provide a basic example with a .txt file being converted to a .pdf file?

Thanks

Omkar P
Posted 5 years ago ago

SourceFolderPath =you need to provide your input folder path. don't provide file path

DestinationFolderPath=you need to provide destination folder path

Please provide your email I will send simple example

Joe Preziuso
Posted 5 years ago

Could someone please provide an example of how to use this activity? For some reason I am having trouble

Omkar P
Posted 5 years ago ago

Hi Joe,

Could you please provide screen shot of your error or trouble.

Regards,

Omkar P

Raj Parsana
Posted 5 years ago

Does it extraxts text in image??

Omkar P
Posted 5 years ago ago

Hi Raj,

Currently it doesn't extract text from images.

Regards,

Omkar P

Publisher

Omkar P

Visit publisher's page

License & Privacy

MIT

Privacy Terms

Technical

Version

1.0.1

Updated

June 14, 2023

Works with

Studio: 21.10 - 22.10

Certification

Silver Certified

Support

UiPath Community Support

Resources