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 Overridable Sub ComputePageCountAsync (
	userState As Object
)

Parameters

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
Show: