# 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: 0 = Clockwise 0° rotation (0) 90 = Clockwise 90° rotation (1) 180 = Clockwise 180° rotation (2) 270 = Clockwise 270° rotation (3)
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 button of the Display control GUI. 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: The Accept and Cancel buttons are only visible while online, and are hidden unless an editable graphic has been selected. For more information on editing graphics, see the Interactive Graphics Mode topic.
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. 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.25 1.5 1.75 2 2.25 2.5 2.75 3 3.5 4 4.5 5 5.5 6 18 16 32
Zoom Type | Sets the zoom type: Manual (0) Fit, default setting (1) Fill (2)

The Display control also has the following Event Handler script points:

- On Mouse Enter
- On Mouse Move
- On Mouse Leave