To get number of pages in PDF
I have binary data of PDF file in Internal table . I convert this Binary data to Xstring and send it ADS server along with Annotation ( also as XSTRING ).
PDF with Annotation is generated and sent back by ADS Server.
Problem is Annotation is getting generated only on Firstpage.
I have checked XML defination of this Annotation and XML tag indicates only page 1.
So I would like to add more XML tags , to get for all pages of PDF.
To do this I would like to know how many pages my Source PDF has. So that I can dynamically prepare XML tags and convert to XSTRING and then send to ADS together.
Is it possible to get number of Pages a PDF has.