PDF Document page count

Hello, i just wonder if there is any possibility to obtain a page count of PDF document so I can insert logo stamp into all pages. Thank You

Dear,

Thanks for considering Aspose.

PdfFileInfo can retrieve the page count, please refer to PdfFileInfo Class

If you need to add logo to all pages, let the Pages property of stamp remains null. By default, Pages equal to null indicates that stamp is added on each page.