How to add - PdfTextExtractor of iText7 in uipath studio?

how to add - PdfTextExtractor of iText7 in UiPath studio, getting below error -

Error ERROR Validation Error No compiled code to run
error BC30024: Statement is not valid inside a method. At line 2
error BC30024: Statement is not valid inside a method. At line 3
error BC30024: Statement is not valid inside a method. At line 4
error BC30451: ‘PdfTextExtractor’ is not declared. It may be inaccessible due to its protection level. At line 25 Main.xaml

Hi @Bh_P

Try this

Thanks
Ashwin.S