Picture
Picture is a form object for inserting graphic content. The following file formats are supported:
-
Portable Network Graphic (*.png)
-
PDF (*.pdf)
-
Adobe Photoshop (*.psd)
-
Scalable Vector graphics (*.svg)
-
Paintbrush (*.pcx)
-
JPEG bitmaps (*.jpg, *.jpeg, *.jpe)
-
TIFF bitmaps (*.tif, *.tiff)
-
Enhanced Windows Metafile (*.emf)
-
Windows Metafile (*.wmf)
-
Windows bitmap (*.bmp)
Source
Connected data source is the dynamic data source that is connected with the object.
-
Fixed data: manually entered fixed text.
-
Variables: predefined variable values which are used as object content.
-
Functions: input data transformation tools.
-
Databases: database values which are used as object content.
Content field is used for entering the object content.
To (re)define the object Content, click Browse and locate the file to be displayed on the label.
Embed picture in a document defines the picture as an integral part of the label file.
Save embedded picture to file saves the embedded picture as an external file. Browse for a location and store it there.
Position
Position tab defines object positioning and its position-related behavior.
Position group defines the object position.
-
X and Y: anchoring point coordinates.
-
Width and Height: horizontal and vertical object dimension.
-
Keep aspect ratio: simultaneous changing of object dimensions while scaling.
-
Lock: prevents the object from being moved during the design process.
Size group sets how object's dimensions change when the form is running:
-
Resize anchor point: defines the fixed distance of an object from the form borders.
Tip
Choose the most appropriate anchor point to ensure the object's visibility regardless of the current window size.
-
Horizontally resize with form and Vertically resize with form: object size automatically adapts to the changing size of the form.
-
Horizontally resize with form: object width adapts to the resized form.
-
Vertically resize with form: object height adapts to the resized form.
Note
If both options are enabled, object width and height adapt to the resized form simultaneously.
-
Rotation angle group sets the object angle according to the design surface.
Graphic Resizing tab defines variable source picture resizing.
Resize options group defines how the source file dimensions adapt to the size of the object when the form is run.
Note
Resize options are available only if the Picture object is defined dynamically.
-
Keep original picture size: disables resizing. The source picture file is displayed in the Picture object with its original dimensions.
-
Resize proportionally: makes the source picture file resize proportionally. The aspect ratio of source file dimensions is preserved.
-
Resize to the designed size: resizes the source picture file horizontally and vertically to make it fit into the bounding box. Using this option will most likely distort the image.
Original size group informs the user about the size of source image file.
Revert to original picture size resizes the Picture object to the original dimensions of the source image file.
Events
Events tab defines the actions that are run by various object-related events.
Tip
See section Actions Editor to read more about this powerful Desktop Designer tool.
Available events are:
-
On Mouse Enter: action is run on mouse enter.
-
On Mouse Leave: action is run on mouse leave.
-
On Click: action is run on mouse click.
General
General tab identifies the object and defines object state on form startup.
Name sets a unique object ID. It is used for object referencing when defining functions, variables, scripts, etc.
Description allows adding notes and annotations for an object.
Hint (tooltip) helps the form users by briefly explaining why or how to use an object. Hint is shown to a user when the mouse pointer floats over the selected object.
Initial state on form startup group defines the object behavior when the form is run for the first time:
-
Enabled: defines if the object is going to be active (editable) at form startup or not.
-
Condition: an object is enabled if the result of the given condition is "True".
-
-
Visible: defines if the selected object is going to appear on the form or not.
-
Condition: an object is visible if the result of the given condition is "True".
-