Hello,
I want to merge pdfs in order.
Example: my pdf list;
one.pdf
two.pdf
three.pdf
When I do “Directory.GetFiles” it gets mixed, not in order. How can I fix ?
it goes like this;
two.pdf
three.pdf
one.pdf
Hello,
I want to merge pdfs in order.
Example: my pdf list;
one.pdf
two.pdf
three.pdf
When I do “Directory.GetFiles” it gets mixed, not in order. How can I fix ?
it goes like this;
two.pdf
three.pdf
one.pdf
have a look on this workflow.
i hope it will help you.
steps->
1-> create a array of string and stores the path in it.
2-> sort the array
3-> pass the array element in for loop
Sequence.xaml (10.8 KB)
as it shows value cant be null.
check that mylisy has conatins values
You can also use the linq Quey for filteration
query-> MYArray.OrderByDescending(Function(x) x).Reverse
Sequence.xaml (11.2 KB)