Assembly: PresentationFramework (in presentationframework.dll)
XML Namespace: http://schemas.microsoft.com/winfx/2006/xaml/presentation
'Declaration Public ReadOnly Property PageCount As Integer 'Usage Dim instance As FlowDocumentReader Dim value As Integer value = instance.PageCount
Property ValueThe current number of display pages for the content hosted by the FlowDocumentReader. This property has no default value.
Flow content does not have any inherent notion of a fixed number of pages; the contents of a FlowDocument are dynamically organized into a set of display pages, the number of which is based on current display and layout characteristics. For example, re-sizing a FlowDocumentReader or changing the Zoom level affects the number of display pages that the content is organized into.
When the FlowDocumentReader is in the SingleColumnScroll viewing mode, the page count and the current page number are always 1 (assuming any content has been loaded).
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.