Gets the total number of pages the loaded document contains. Returns 0 if no document is loaded.
public int TotalPages { get; }
Public ReadOnly Property TotalPages() As Integer
Read only.