Creating a new parameter

Parameters are used to control object transformation. That is, they control the position, size, color, or rotation of the object. You transform an object by binding one or more of its properties to parameters.
A symbol parameter can have one of the following types:
  • String
  • Integer
  • Boolean
  • Float
  • Double
  • Color
  • Paint
Changes to the value of the parameter result in changes to the aspect of the object to which it is bound. For example, the width of the basicprogressbar will expand to the right as the parameter to which it is bound increases. In this way, parameters give intelligence to symbols.
To create a new parameter for the basicprogressbar symbol:
  1. Open the basicprogressbar symbol.
  2. In the Symbol Outline pane, right-click the Parameters icon.
  3. In the pop-up menu, select New Parameter.
    diasym_newparam29.png
    Adding a new parameter
  4. Type progress in the Name field of the Styling Customizer.
  5. Press Enter.
    The progress parameter is listed in the Symbol Outline pane.
  6. From the Type list, select Integer.
  7. Leave the Default Value field as 0 (zero).