PageCount

DocumentInfo.PageCount property

Gets the number of pages in the document. For spreadsheets this returns the number of worksheets.

public int PageCount { get; }

Property Value

A non-negative integer representing the page or worksheet count.

See Also