How to pass variable to range in read pdf Text activity

I want to read pdf pages dynamically so I used while loop with count.

count = 0 pagescount = 4

In here , pass count to range in read pdf Text activity

Thanks

1 Like

Hi
we will be able to mention the variable of type string
in Range property of Read pdf activity
If we have in int32 type only then mention .ToString along with that int32 variable so that it can be passed as range value to that property

cheers @Ajith1

Capture

it sows this error @Palaniyappan

Thanks

Hi
before using this READ PDF TEXT activity use a writeline activity and mention input as pCount.ToString so that will come to know the value of it and make sure that we have such number of pages in that pdf

and did that array index worked

@Ajith1

yes its return numeric values

@Palaniyappan

1 Like

hmm…usually it starts from 1 right
so in PDF Range property mention as (pCount+1).ToString
Cheers @Ajith1

yeah I forgot…

Thanks @Palaniyappan

1 Like

Cheers @Ajith1

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