Using the Symbol Editor > Getting Started with the Symbol Editor > Transforming Symbols using Parameters > Transforming an Object

Transformation is when an object changes aspect. This change is done by binding a parameter to one or more of the object properties. As the parameter changes value, so the object changes appearance. Parameters can be bound to one or more objects in a symbol, an object can have one or more parameters bound to the properties in the Position, Size or Rotation transformation property groups.

Note
A base element can only change its Width and Height properties.

To bind the progress parameter to the basicprogressbar symbol, do the following:

  1. Open the basicprogressbar symbol.

images/diasym_basicprogressbar.png

Figure 1.25 The basicprogressbar Symbol
  1. Select the progressbar object in the Symbol Outline pane.
  2. Click the Transform tab in the Styling Customizer.
  3. Click the Bind button next to the Width field. The Transform Element Using Parameter dialog box opens.
  4. Select progress from the Parameter list.
  5. Select Compute the transformation according to the following min/max values.
  6. Type 120 in Value Max. This is the width in pixels the progressbar object will attain when the progress parameter equals Parameter Max. That is, when progress equals 100, the progressbar will be 120 pixels wide, and when progress is 50, the progressbar will be 60 pixels wide. Figure 1.26 displays this option.
  7. Click OK.

The width of the base rectangle is now bound to the progress parameter.

Note
The width of the rectangle is now set to 0, the default value of the progress parameter.