Display Properties
The Display control has the following control-specific properties:
Property | Description |
---|---|
Enable Graphics | Determines whether static graphics (such as the result graphics of Vision Tools whose Show property is not set to hide all on their Property Sheet) will be displayed on the Display control. This property is enabled by default. |
Image Rotation |
Specifies the rotation of the image being displayed:
|
Source | Specifies the image that will be displayed. This property should be set to an ImageView tag. |
Click to Edit | Determines whether or not starting graphic editing via a mouse click is enabled. This property is enabled by default. |
Enable Zoom Label |
Determines whether or not a zoom level label will be displayed on the Display. This property is disabled by default. Note: By using a Label element and setting the Text property to the Zoom Level tag, a custom zoom label can be created that also shows scale value.
|
Selected Graphic |
Can be bound to the Data tag of a Display Data Editor (e.g. $WebPages.WebPage.DisplayDataEditor.Data) to allow the selected graphic on the Display to be edited numerically, via a keyboard. Note: For more information on editing graphics, see the Interactive Graphics Mode topic.
|
Selected Handle |
Can be bound to the Data tag of a Display Data Editor (e.g. $WebPages.WebPage.DisplayDataEditor.Data) to allow the selected graphic handle on the Display to be edited numerically, via a keyboard. Note: For more information on editing graphics, see the Interactive Graphics Mode topic.
|
Selected Pixel Color |
Can be bound to CjsColor type properties and used in scripts to capture the RGB properties of the pixels under the mouse cursor when the Show Selected Pixel Data feature is activated with the For example, binding this property to the Background Color property of a Button will result in the background color of the Button dynamically changing to the color of the pixel currently under the mouse cursor when Show Selected Pixel Data is enabled. |
Show Edit Buttons |
Displays Accept and Cancel buttons for use with a selected graphic on the Display. When a graphic has been selected, the integrated Accept and Cancel buttons will automatically be displayed. This property is enabled by default. Note:
|
Show Pan Control | Determines whether or not the pan control will be visible on the Display. When enabled, and online, the image can be moved using the arrow icons on the control, and the image can be realigned to center by pressing the circle icon in the middle of the control. This property is enabled by default. |
Show Toolbar | Displays a toolbar along the top of the display for the most common functions for interacting with the image: zoom controls, fit and fill controls, image rotation controls, and a control to show and/or hide the pan control. This property is enabled by default. |
Zoom Level |
Sets the zoom level of the displayed image.
|
Zoom Type |
Sets the zoom type:
|
The Display control also has the following Event Handler script points:
- On Mouse Enter
- On Mouse Move
- On Mouse Leave