WINDEV Concepts
Part 1: Main concepts 23 • Tiled : the image is displayed at 100% and is repeated in the background of the window to occupy all the available space. • Homothetic : the image is proportionally enlarged to be entirely displayed in the window. • Homothetic centered : the image is homothetic and it is centered in the window. • Homothetic extended : the image is proportionally enlarged so that the smallest side of the image is entirely displayed in the window. • Homothetic centered extended : the image is proportionally enlarged and centered in the window. • Homothetic without enlargement : if the image can be entirely displayed in the window, it is displayed at 100%. If the image is larger than the window, it is automatically resized to be displayed in its entirety. • Homothetic centered without enlargement : the image is centered without enlargement. In homothetic mode, the "High-quality display (HQ)" option allows improving the image quality when it is reduced from its original size. Position This parameter sets the position of the upper-left corner of the image, relative to the window area. These options will be kept even if the image is modified programmatically ( Image property). Transparency The transparency options for the background image are as follows: • Transparent magenta : The magenta color in the image will be transparent when the image is displayed in the editor or at runtime. Transparency: none Transparent magenta • Top left pixel : all pixels with the same color as the top left pixel of the image will be transparent. These options will be kept even if the image is modified programmatically ( Image property). Symmetry The symmetry options are used to change the orientation of the image in the image file. These options will be kept even if the image is modified programmatically ( Image property). Initial image: Vertical symmetry Horizontal symmetry Horizontal and vertical symmetry 9-slice scaling If this option is selected, the 9-slice scaling mode will be used on the background image of the window. The 9-slice scaling method consists in dividing the background image into 9 areas. For each area , you can define whether the section of the image corresponding to the area must be displayed or not: simply click the area to make it visible or invisible. If the image section is not displayed, it will be replaced by the background color of the window or control.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==