PDFPageCount Użyj tej funkcji, aby uzyskać liczbę stron dokumentu PDF. Aby użyć int count = PDFPageCount();