Gets the number of pages contained in the current document.

Syntax

public int Pages { get; }

Limitations

Runtime only.

Read only.