Applies To:
  • CitectSCADA 5.10

We are using the resizable windows option, [page]DynamicSizing=1, to reduce the size of windows at runtime. There are problems when we resize the windows. Some of our thin lines and pipes on the graphic pages disappear, making the graphics incomplete. At some scales they will appear and at others they will disappear. 

By default, static objects drawn on a page get rendered into a fast runtime file when you save the page. It is essentially one large bitmap. At runtime, the fast runtime file (.CTF) is displayed as a background bitmap along with any dynamic objects configured on the page. If you attempt to resize a window at runtime, this background bitmap has to be resized. A sampling algorithm determines which pixels to omit. If you have a thin horizontal or vertical line (for example one pixel in width), it is possible that this row or column of pixels may get selected for omission, hence your entire line may disappear.

To avoid this problem, you can turn the Fast RunTime Display option off in the Tools | Options Menu of the Graphics Builder. As the .CTF file will no longer be used, objects will be rendered individually and this problem will not occur. The only exception is in the case of bitmap objects either pasted as Symbols, Symbol Sets, or as parts of Genies. These objects will individually suffer from the same problem since they require the resizing of a bitmap.

A better option - performance-wise - is to modify the visibility of the affected objects by typing FALSE in the "Hidden When" field on the Visibility Tab of each object. This will force the objects to render themselves and not be rendered through the background bitmap. An object that renders itself shall not suffer this type of degradation in quality when a page is resized except when that object is a symbol or symbol set.

This is less of a problem in V5.20.