Overview
This document presents information about using images on Displays.
The Drawing environment supports a powerful feature, which is allowing any Image to be used as Brush on top of other elements, like Rectangles, Ellipses and combination of shapes.
The Images are included in the Solution File, so you don't need to worry about managing the external files from where the images were originally imported. It is aso possible, when needed, to load an image from an external file when The drawing environment allows you to use any image on various elements, such as rectangles, ellipses, and other shapes. The solution file includes all images used in your applications. You can also load images from external files while the solution is running. The drawing display tools allows allow you to easily manage the images , get more images from external files, quickly and apply those images them to the displays, either statically, or linked to dynamic properties. displays. This document provides information on how to use images in displays.
On this page:
Table of Contents | ||||
---|---|---|---|---|
|
Understanding
Image BrushesImages Library
There are three main repositories for reusable componentsgraphical elements: the Images Library, the Symbol Factory libraryLibrary, and the Local Symbols Gallery. Let's delve into each one.
Images are used to insert an external image file (such as an icon, wallpaper, object, or a background image) from your computer into the project configuration. Images They can be managed on Edit → under Displays → ResourcesImages. Once imported, the original file is no longer needed.
Adding an Image to a Display
- Go to Displays → Draw.
- On the Components Panel, select Images, then the image at your choice.
- Click or drag-and-drop it on the Drawing area to use it.
Configuring Image Brushes
Images can be used as color brushes for any drawing object and can even be used as "color" or the ColorFill dynamic attributes.
Configuring Images Brushes
also serve as the color or FillColor dynamic attributes. You can use UNIFORM or FILL for image stretching.
The image can be applied to any graphical shape in the display. When a new image is inserted into the drawing area, it becomes the fill for the rectangle. Double-click it to open the configuration window.
Image Settings | |
---|---|
Field | Description |
Fill | Sets the content to fill the rectangle. Click to change the following options: Stretch: changes the stretch |
to None, Fill, Uniform |
, |
Importing Image Resources
You can import any image file in the Displays → Images tab. This creates a repository of images for the application that is stored inside the project database file. You do not need the original files anymore. These images can be used to be the Fill of an object, such as rectangles, ellipses, LabelBoxes, paths, page background, or target color in runtime dynamics using colors.
If you need to update an image with a new version, you can replace it, and it will be updated throughout the application. Be sure to keep the resource name the same.
You can use any image file to fill or "paint" an object when you create displays in Display Drawing → Drawing.
You can import the following file types:
- .bmp
- .gif
- .ico
- .jpg
- .png
- .tiff
- .wdp
Managing Image resources:
- Go to Displays → Images.
- Click Import Images.
- Navigate to where the images you want to import.
- Select the image files and click Open.
- In each row, enter or select information, as needed.
or UniformToFill. TileMode: determines how the image is repeated or tiled within the shape. The options are None, Tile, FlipX, FlipY, and FlipXY. Viewport: changes the position of the image. Also, changes the width and height. Select Resource...: searches a new image to fill the rectangle. | |
Line | If checked, applies a color to the rectangle's edge. |
IsConnector | Indicates whether the graphical element functions as a connector. When enabled, this setting allows the element to act as a link or connection point between other elements in the drawing |
Working with Images
Adding an image to a display
Go to Displays → Draw.
- On Drawing environment, open the Components Panel, select the Image graphical element category and the image item from the Solutions Image Library available on Displays → Images.
. |
In this section:
Page Tree | ||||
---|---|---|---|---|
|