{"id":3576,"date":"2019-03-25T17:44:57","date_gmt":"2019-03-25T20:44:57","guid":{"rendered":"http:\/\/xexeu.elipse.com.br\/pt\/using-the-viewer-in-elipse-e3-chapter-2-viewer-resolution\/"},"modified":"2022-05-18T11:38:10","modified_gmt":"2022-05-18T14:38:10","slug":"using-the-viewer-in-elipse-e3-chapter-2-viewer-resolution","status":"publish","type":"post","link":"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-2-viewer-resolution\/","title":{"rendered":"Using the Viewer in Elipse E3: Chapter 2 &#8211; Viewer Resolution."},"content":{"rendered":"<div align=\"justify\">\n<p>The Viewer can be executed in any resolution. However, the resolution of the monitor where the application will run must be established beforehand to avoid any distortions in figures and screens, which would damage the project.<\/p>\n<p>Via zoom, you can use the <b>Fill <\/b>resource to cause the screen to fill the area available. To make sure it will not distort the image, the proportion between monitors must be the same. For example: 1024 x 768 and 800 x 600 are proportional, while 1280 x 800 (widescreen) and 800 x 600 are not.<\/p>\n<p><span style=\"font-size: large\"><b><span style=\"color: #3366ff\">Automatic resolution<\/span><\/b><\/span><\/p>\n<p>The Viewer has an option for automatic resolution. Then, whenever the monitor&#8217;s resolution changes, the Viewer will adapt accordingly.<\/p>\n<p>To change the Viewer&#8217;s resolution, follow these procedures:<\/p>\n<ul>\n<li>Open the E3 Studio.<\/li>\n<li>At the Organizer, right-click the Viewer and open its properties.<\/li>\n<li>Access the <b>Settings <\/b>tab, and change the <b>Viewer resolution<\/b> option as needed.<\/li>\n<\/ul>\n<div align=\"center\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID5275\/1.png\" alt=\"\" width=\"395\" height=\"555\" align=\"Baseline\" border=\"0\" \/><\/div>\n<p><span style=\"font-size: large\"><b><span style=\"color: #3366ff\">Different resolutions for the same application <\/span><\/b><\/span><\/p>\n<p>Some applications may comprise multiple screens, with different resolutions each; for example, an application can have a single screen to be viewed on the video wall, while the other screens will be displayed on 20&#8221; monitors.<\/p>\n<p>In this case, you might want to develop screens for both resolutions, and then create a logic operation in the application that routes it to these screens according to the monitor&#8217;s resolution or to the computer&#8217;s name.<\/p>\n<p><b>Example<\/b>: when the Viewer starts up, a script is executed to check the computer&#8217;s name; if the name is <b>Computer1<\/b>, a larger screen, called <b>MainScreen_1024x768<\/b>, will be opened. Any other name will call for a default screen called <b>MainScreen <\/b>to be opened.<\/p>\n<pre>Sub Viewer_OnStartRunning()\r\n   if GetComputerName() = \"COMPUTER1\" then\r\n      Application.GetFrame(\"\").OpenScreen(\"MainScreen_1024x768\"), 0\r\n   else\r\n      Application.GetFrame(\"\").OpenScreen(\"MainScreen\"), 0\r\n   end if\r\nEnd Sub<\/pre>\n<p><b><span style=\"color: #3366ff;font-size: large\"><br \/>\nExercises<\/span><\/b><\/p>\n<ol>\n<li>Create an application with three screens, and make sure the initial screens displays a login button. If the user belongs to <b>Operators <\/b>group, they will be redirected to <b>screen2<\/b>. Otherwise, <b>screen3 <\/b>(a windowed and centralized screen) must be opened.<\/li>\n<\/ol>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The Viewer can be executed in any resolution. However, the resolution of the monitor where the application will run must be established beforehand to avoid any distortions in figures and&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0},"categories":[767],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Using the Viewer in Elipse E3: Chapter 2 - Using the Viewer in Elipse E3: Chapter 2 - Viewer Resolution.[:] - Elipse Knowledgebase<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-2-viewer-resolution\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using the Viewer in Elipse E3: Chapter 2 - Viewer Resolution.\" \/>\n<meta property=\"og:description\" content=\"The Viewer can be executed in any resolution. However, the resolution of the monitor where the application will run must be established beforehand to avoid any distortions in figures and&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-2-viewer-resolution\/\" \/>\n<meta property=\"og:site_name\" content=\"Elipse Knowledgebase\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/elipsesoftware\" \/>\n<meta property=\"article:published_time\" content=\"2019-03-25T20:44:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-05-18T14:38:10+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID5275\/1.png\" \/>\n<meta name=\"author\" content=\"Elipse Software\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Elipse Software\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-2-viewer-resolution\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-2-viewer-resolution\/\"},\"author\":{\"name\":\"Elipse Software\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87\"},\"headline\":\"Using the Viewer in Elipse E3: Chapter 2 &#8211; Viewer Resolution.\",\"datePublished\":\"2019-03-25T20:44:57+00:00\",\"dateModified\":\"2022-05-18T14:38:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-2-viewer-resolution\/\"},\"wordCount\":660,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"articleSection\":[\"Viewer\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-2-viewer-resolution\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-2-viewer-resolution\/\",\"url\":\"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-2-viewer-resolution\/\",\"name\":\"[:pt]Using the Viewer in Elipse E3: Chapter 2 - Viewer Resolution.[:en]Using the Viewer in Elipse E3: Chapter 2 - Viewer Resolution.[:] - Elipse Knowledgebase\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#website\"},\"datePublished\":\"2019-03-25T20:44:57+00:00\",\"dateModified\":\"2022-05-18T14:38:10+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-2-viewer-resolution\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-2-viewer-resolution\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-2-viewer-resolution\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/kb.elipse.com.br\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using the Viewer in Elipse E3: Chapter 2 &#8211; Viewer Resolution.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kb.elipse.com.br\/#website\",\"url\":\"https:\/\/kb.elipse.com.br\/\",\"name\":\"Elipse Knowledgebase\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kb.elipse.com.br\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\",\"name\":\"Elipse Software\",\"url\":\"https:\/\/kb.elipse.com.br\/\",\"sameAs\":[\"http:\/\/www.facebook.com\/elipsesoftware\"],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png\",\"contentUrl\":\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png\",\"width\":161,\"height\":58,\"caption\":\"Elipse Software\"},\"image\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87\",\"name\":\"Elipse Software\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g\",\"caption\":\"Elipse Software\"},\"url\":\"https:\/\/kb.elipse.com.br\/en\/author\/webmasterelipse-com-br\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Using the Viewer in Elipse E3: Chapter 2 - Using the Viewer in Elipse E3: Chapter 2 - Viewer Resolution.[:] - Elipse Knowledgebase","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-2-viewer-resolution\/","og_locale":"en_US","og_type":"article","og_title":"[:pt]Using the Viewer in Elipse E3: Chapter 2 - Viewer Resolution.[:en]Using the Viewer in Elipse E3: Chapter 2 - Viewer Resolution.[:] - Elipse Knowledgebase","og_description":"The Viewer can be executed in any resolution. However, the resolution of the monitor where the application will run must be established beforehand to avoid any distortions in figures and&hellip;","og_url":"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-2-viewer-resolution\/","og_site_name":"Elipse Knowledgebase","article_publisher":"http:\/\/www.facebook.com\/elipsesoftware","article_published_time":"2019-03-25T20:44:57+00:00","article_modified_time":"2022-05-18T14:38:10+00:00","og_image":[{"url":"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID5275\/1.png"}],"author":"Elipse Software","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Elipse Software","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-2-viewer-resolution\/#article","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-2-viewer-resolution\/"},"author":{"name":"Elipse Software","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87"},"headline":"Using the Viewer in Elipse E3: Chapter 2 &#8211; Viewer Resolution.","datePublished":"2019-03-25T20:44:57+00:00","dateModified":"2022-05-18T14:38:10+00:00","mainEntityOfPage":{"@id":"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-2-viewer-resolution\/"},"wordCount":660,"commentCount":0,"publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"articleSection":["Viewer"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-2-viewer-resolution\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-2-viewer-resolution\/","url":"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-2-viewer-resolution\/","name":"[:pt]Using the Viewer in Elipse E3: Chapter 2 - Viewer Resolution.[:en]Using the Viewer in Elipse E3: Chapter 2 - Viewer Resolution.[:] - Elipse Knowledgebase","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/#website"},"datePublished":"2019-03-25T20:44:57+00:00","dateModified":"2022-05-18T14:38:10+00:00","breadcrumb":{"@id":"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-2-viewer-resolution\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-2-viewer-resolution\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/kb.elipse.com.br\/en\/using-the-viewer-in-elipse-e3-chapter-2-viewer-resolution\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/kb.elipse.com.br\/en\/"},{"@type":"ListItem","position":2,"name":"Using the Viewer in Elipse E3: Chapter 2 &#8211; Viewer Resolution."}]},{"@type":"WebSite","@id":"https:\/\/kb.elipse.com.br\/#website","url":"https:\/\/kb.elipse.com.br\/","name":"Elipse Knowledgebase","description":"","publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kb.elipse.com.br\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/kb.elipse.com.br\/#organization","name":"Elipse Software","url":"https:\/\/kb.elipse.com.br\/","sameAs":["http:\/\/www.facebook.com\/elipsesoftware"],"logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/","url":"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png","contentUrl":"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png","width":161,"height":58,"caption":"Elipse Software"},"image":{"@id":"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87","name":"Elipse Software","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g","caption":"Elipse Software"},"url":"https:\/\/kb.elipse.com.br\/en\/author\/webmasterelipse-com-br\/"}]}},"_links":{"self":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/3576"}],"collection":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/comments?post=3576"}],"version-history":[{"count":4,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/3576\/revisions"}],"predecessor-version":[{"id":12978,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/3576\/revisions\/12978"}],"wp:attachment":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/media?parent=3576"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/categories?post=3576"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/tags?post=3576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}