DynamicDocumentPaginator.GetPageNumber Method (ContentPosition)
When overridden in a derived class, returns the zero-based page number of the specified ContentPosition.
Assembly: PresentationCore (in PresentationCore.dll)
The content position whose page number is needed.
If pages prior to the contentPosition have not been formatted, they will be paginated synchronously prior to returning the requested page number.
GetPageNumberAsync provides similar functionality as , but with asynchronous operation.
Available since 3.0