Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private async void webView_NavigationCompleted(WebView sender, WebViewNavigationCompletedEventArgs args)
- {
- MyWebViewRectangle.Fill = await GetWebViewBrush(webView);
- MyPrintPages.ItemsSource = await GetWebPages(webView, new Windows.Foundation.Size(842, 595));
- }
- private void PrintDic_AddPages(object sender, AddPagesEventArgs e)
- {
- foreach (var item in MyPrintPages.Items)
- {
- var rect = item as Rectangle;
- printDoc.AddPage(rect);
- }
- printDoc.AddPagesComplete();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement