PdfSharp PdfReader.Open problem


#1

Hello, I need to split pdf pages into different pdf files and I found PdfSharp library, I imported it into uipath and I can create pdf files, but when I try to read I get an error:
error

My code:

I tried to delete parts of code and found that there is no error when I don’t use inputDocument. Any help would be appreciated.


#2

Try reading PDF by provide page number in input range and write to files


#3

I found what was wrong, i had to set OpenMode to Import

import


#4

Hi Timber, can you please advise on how to import the PDFSharp library into UiPath Studio? Thanks!


#5

Hi @Timber,

Could you please advise on how to import the PDFSharp library? I would like to use this for the project that am working on. Appreciate your response. Thanks!


#6

Dear @Timber

Thanks for all your contributions!
Can you post an example workflow with this method?