Welcome Guest Search | Active Topics | Sign In | Register

WinForms Web browser Landscape print Options
Riki
Posted: Sunday, June 25, 2017 5:56:12 AM
Rank: Newbie
Groups: Member

Joined: 10/9/2016
Posts: 7
Hi,
I have a html page
i try to print it from the Web Control in Landscape
But it doesn't work!

I n html page i put:
<style type="text/css" media="print">
@page {
size: landscape;
}
</style>

this css works fine from chrome but not from web control.

and I also tried in c# code:

_webView.BeforePrint += _webView_BeforePrint;


void _webView_BeforePrint(object sender, BeforePrintEventArgs e)
{
e.PageSettings.Landscape = true;
e.Continue(cbPrinterSetting.Checked);
}


From Chrome it works fine

Can you help me please

thanks
Riki
eo_support
Posted: Tuesday, June 27, 2017 2:32:43 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,071
Hi,

Which version do you use? We tested this on the latest build and it seems to work fine.

Thanks!
Riki
Posted: Wednesday, June 28, 2017 1:30:10 AM
Rank: Newbie
Groups: Member

Joined: 10/9/2016
Posts: 7
We use product version:16.2.23.0

(run time version: v2.0.50727)
eo_support
Posted: Wednesday, June 28, 2017 8:10:34 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,071
Hi,

Please try the latest build from our download page and see if it works for you. We tested it here and it does work fine.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.