开发者

How use a DocumentPaginator asynchronously via GetPageAsync with XpsDocumentWriter?

The idea here is that I have a DocumentPaginator that I want to use with an XpsDocumentWriter or PrintDialog as both have the option of printing given a paginator. When I use either, i.e. XpsDocumentWriter.Write[Async] or PrintDialog.PrintDocument, the pa开发者_如何学编程ginator is accesed via GetPage vs. GetPageAsync which I've overridden in derived DocumentPaginator class.

Outside of manually consuming the paginator and feeding Visuals to the document writer, is there a way to trigger the use of the Asyc functions of a DocumentPaginator?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜