You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to print the HTML or webview to a default or a pre-defined printer in XF for UWP app, can this add-on do this?
var myWebView = new Xamarin.Forms.WebView();
myWebView.VerticalOptions = LayoutOptions.FillAndExpand;
myWebView.SetPageSize("XXXX"); <-------------
myWebView.SetPrinter("XXX Printer"); <-------------
WebViewPrintEffect.ApplyTo(myWebView);
myWebView.Source = new HtmlWebViewSource { Html = "some HTML text here" };
I want to print the HTML or webview to a default or a pre-defined printer in XF for UWP app, can this add-on do this?
var myWebView = new Xamarin.Forms.WebView();
myWebView.VerticalOptions = LayoutOptions.FillAndExpand;
myWebView.SetPageSize("XXXX"); <-------------
myWebView.SetPrinter("XXX Printer"); <-------------
WebViewPrintEffect.ApplyTo(myWebView);
myWebView.Source = new HtmlWebViewSource { Html = "some HTML text here" };
//myWebView.PrintAsync("my_print_job_name");
myWebView.AddToPrintPool(); <-------------
The text was updated successfully, but these errors were encountered: