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

Syntax

public int TotalPages { get; }

Limitations

Read only.