DocumentPaginator.ComputePageCountAsync Method (Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: