---
title: "Aspose::Email::Mapi::KnownPropertyList::PageCount method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/knownpropertylist/pagecount/"
product: "Aspose.Email for C++"
description: "Specifies the page count of the file attached to the Document object."
---


## PageCount {#pagecount}

Specifies the page count of the file attached to the Document object. Area: Common Canonical name: PidNamePageCount Alternate names: urn:schemas-microsoft-com:office:office::Pages

**Returns:** System::SharedPtr < PidNamePropertyDescriptor > Aspose::Email::Mapi::

```cpp
PageCount()
```

