PageCount Property (OutputRange)
Gets the total number of pages in the range. Note that if the MaxPageNumber has not been set, this property will get int.MaxValue.
public int PageCount {get;}
'Declaration
Public ReadOnly Property PageCount As Integer