ImagePut
ImagePut copied to clipboard
Is there a way to get pdf's total number of pages?
I know there are many ways to do this, but when people use ImagePut, they probably prefer to use the built-in methods of ImagePut.
I am thinking that
index = 1 ; first page
index = 2 ; second page
index = 3 ; third page
index = 0 ; All pages
index = -1 ; Last page
If this is the case is it still necessary to get the total number of pages?
loop
try ImagePutFile({pdf: "1.pdf", index: A_Index})
catch
break
I will admit this may take time to implement.
I agree with this
index = 1 ; first page
index = 2 ; second page
index = 3 ; third page
index = 0 ; All pages
index = -1 ; Last page
maybe no longer need to get the total number of pages.
index = 0 ; All pages will be very hard to implement.