Back

Topic

[KB1068]WebVue HTML5 – Resolution configuration

Tags: Mimic, Webvue

4 years ago
By ENPA
Options
Print
Applies to:

PcVue 12 onwards


Summary:

In this article we describe how to optimize Web resolution in your Web browser regarding your PcVue resolution.


Details:

The Fit rendering to the web browser viewport is a new parameter that is implemented for the new resolution calculation method. The old parameter Link mimic with web client resolution, is not taken into account anymore. When you open a project in version 12, designed on a previous version, the Fit rendering to the web browser viewport will be unchecked by default.

This parameter if it is enabled (and if the Properties.xml is properly set), the user will always see his entire workspace, regardless of the size of the browser window.
On the other hand, if this parameter is not enabled, the user will only see a part of the workspace. For exemple if the web browser window is small, the user will have scroll bars, and he will probably maximise his web browser window.

On mobile web browsers, the value of this parameter defined on backend side, is ignored. The adjustment of the viewport is always done by default. However, you can modify the default value of the parameter, on client side (WebVue).

Capture

This way the web browser will not fit the rendering to the web browser.

For the best result, you should go through the following steps:
• Go to the Backend configuration. Communication > Servers > Web & Mobile back ends > Backend properties.
• In the Advanced Tab, you should check that the setting Fit rendering to the web browser viewport is NOT checked.

Image1

• After unchecking this setting you must restart PcVue.
• You can check the Properties.xml file that you can find in the following path: C:\ARC Informatique\PcVue 12\USR\yourProjectName\WEB. This file should be edited with PcVue closed.

Image2

• Set your resolution you need. In this case it will be 1920*1080.
• Save the file. Start PcVue.

After these steps your mimics should display correctly in your browser.
Regarding the iPad adaptation, the mimic will be displayed with the maximum width. The mimic resolution on the iPad, for a mimic designed in 1920*1080, will be 1024*576. As the iPad resolution is not the same ratio as the mimic design, your mimic will be displayed as following:

Image3


Created on: 18 Jun 2020 Last update: 04 Sep 2024