DocumentPaginator.GetPageAsync Method (Int32, Object)
Assembly: PresentationCore (in PresentationCore.dll)
This overload of the method makes it possible to cancel this asynchronous operation without cancelling all asynchronous operations.
The following steps illustrate how to retrieve a DocumentPage asynchronously:
Call specifying the pageNumber desired and a unique userState, which will be used to identify the completion of the asynchronous event.
When the event occurs and the delegate is called, compare the event's GetPageCompletedEventArgs.UserState property with the original userState parameter. (The GetPageCompletedEventArgs.PageNumber property will also match the pageNumber specified in the call.)
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.