How Check if document like PDF is a scanned pdf or not

Is there some way or activity in UIPath where in we can check if a PDF file is a 1st generation Document? A 1st generation Document is Its a type of document that is original. Not scanned into the computer. An idea or help would be much appreciated. Thank you.

Hey @Jelrey,
this should be easily achievable with the Read PDF Text Activity.

Read the PDF, then use IF Statement to check if PDF Text length returned from that activity is bigger then 0. If It is the text in the PDF was readable and the PDF was not scanned.

Here’s a short workflow:
CheckPDFScanned.xaml (5.9 KB)

2 Likes

Sir , thanks . Btw way I have another question, how do we check if the pdf contains a watermark ? how do we do that ?

I’ve seen the other post yes, but I don’t know that one imediatly… will probably be anwsered in the other topic by someone else :slight_smile:
P.s. Could you mark my above post as anwser if it helpped you out, thanks!

1 Like

Sure2 , Ahh I see , I thought you have an idea heheh thank you

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.