Gets the total number of pages the loaded document contains. Returns 0 if no document is loaded.

Syntax

public int TotalPages { get; }
Public ReadOnly Property TotalPages() As Integer

Limitations

Read only.