Closed Auto72 closed 7 months ago
Hi @Auto72, you can do that by calling PDFtoImage.Conversion.GetPageCount
.
using var fileStream = new FileStream(@"C:\YourPdfFile.pdf", FileMode.Open, FileAccess.Read);
var count = PDFtoImage.Conversion.GetPageCount(fileStream);
Question
How to get the total number of pages of the PDF file?