 |
PdfDocumentGetPagesCount(String) Method |
Gets the number of pages in a PDF file without fully loading the document.
Namespace: SelectPdf.UniversalAssembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntaxpublic static int GetPagesCount(
string fileName
)
Public Shared Function GetPagesCount (
fileName As String
) As Integer
Parameters
- fileName String
- The path to the PDF file.
Return Value
Int32The number of pages in the document.
See Also