Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Operations Management Interface

Set the zoom percentage

  • Last UpdatedJul 16, 2024
  • 2 minute read

There are several distinct tasks that must be completed to enable programmatic zooming in a ViewApp. The following list shows the recommended order these tasks should be completed.

  1. Determine the paired X and Y coordinate values that will serve as the center points of the programmatic zoom areas of the graphic.

  2. Assign values to layout pane properties that affect programmatic zooming. See About Layout pane property effects on zoom behavior.

  3. Create a set of attributes with the Namespace Editor that will be used in scripts and animation. See Set zoom percentage attributes.

  4. Write a set of scripts and assign animations to enable programmatic zooming. See Minimal set of scripts and animations to enable programmatic zooming of graphics

    Specify Zoom Center Point Coordinates of a Graphic

Before you create scripts and animations to set programmatic zooming of a graphic, you must determine the different X,Y coordinates within a graphic that you want to assign as the center points of the zoom areas.

To determine the zoom center point coordinates of a graphic

  1. Open the graphic in the Graphic editor.

  2. Place the mouse cursor directly over the point in the graphic that you want to set as the center point of a zoom area.

    The current X and Y cursor values of the cursor location are shown in the status bar beneath the canvas area of the Graphic editor.

  3. Save the coordinates of each location to specify them in action scripts.

    TitleResults for “How to create a CRG?”Also Available in