citect 5.4 resolution

Hello Slight smile 

Does anyone know how to change the runtime resolution for a configured runtime project? The project was configured with lower resolution back in the old days (window xp). I have try function winsize(1920,1080) in cicode and it doesn't work. Schneider website mentioned to add INI parameter through computer setup editor which is no way to be found in this version. 

Parents
  • Citect pages are bitmapped and not vectorial, so I think you can't resize them "automatically". Even if you can do it, the result will be strange.

    In your situation, what I usually do is:

    - Resize the templates (open your templates and resize each of them, or replace the base template with another base template with new size)

    - Open all pages and adjust, first approach is center the contents of each page, later if you have time/budget distribute and arrange the contents, sometimes or some pages as the screen was 4x3 and now is wide, the extra space in the side can be used for additional info, like KPIs, etc.

    Regards

  • If you want to resize the pages in the editor so they look best at a higher resolution, you'd have to do what Nuno said. However, if you're only concerned about making them fit the monitor in the runtime, you can do it with citect.ini parameters. Since there was no Setup Editor in Citect 5.4, you could edit c:\windows\citect.ini in Notepad. Or, go to the Citect help, choose Contents |  Technical Reference | Parameters | Parameter Categories | Page parameters | DynamicSizing. Click the button to edit the parameter and set the value to TRUE

    Use the same method to set [Page] InheritParentScale=TRUE and [Animator] FullScreen=1

    The runtime will now fill the full height of the screen, and popup windows will be stretched the same amount. However, the pages won't fit the full width of the monitor if you have widescreen monitors. There is a [Page]MaintainAspectRatio=0 parameter to fix that, but I don't believe it was available until v6.0.

    The other option is to change your desktop resolution to match the size of the Citect pages, but that will make all text look a little blurry.

  • Hi Eric, that is the issue, I can't find MaintainAspectRatio in v5.4, I can only reach the full height of the monitor but not the full width. 

Reply Children
No Data