ComputePageCountAsync Method (Object)
Collapse the table of content
Expand the table of content

DocumentPaginator.ComputePageCountAsync Method (Object)


Asynchronously, forces a pagination of the content, updates PageCount with the new total, sets IsPageCountValid to true.

Namespace:   System.Windows.Documents
Assembly:  PresentationCore (in PresentationCore.dll)

public virtual void ComputePageCountAsync(
	object userState


Type: System.Object

A unique identifier for the asynchronous task.

The specified ID is assigned to the asynchronous task.

This overload of the method makes it possible to cancel this asynchronous operation without cancelling all asynchronous operations.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft