Property PageCount
PageCount
Gets the number of pages represented by this attachment.
public int PageCount { get; }
Property Value
Remarks
Returns 1 for single-frame images. For documents that expose paginated content,
returns the document's page count. Returns 0 when page semantics are not applicable
(e.g., plain text or HTML without page boundaries).