| Using the Symbol Editor > Getting Started with the Symbol Editor > Transforming Symbols using Parameters > Adding Flexibility using Parameters |
Adding Flexibility using Parameters |
INDEX
PREVIOUS
NEXT
|
By default, an object uses static values to control its size. For example, the progressbar object created in Working with Symbols has a minimum width of 0 and a maximum width of 120. The transformation added in Transforming an Object still leaves the maximum at 100. To create re-usable symbols, the best practice is to use parameters to control size. This way, the size of a symbol can be easily adjusted for inclusion in a symbol with different dimensions.
To add flexibility to the basicprogressbar symbol, do the following:
You can now set the maximum width for this object by changing either the default or the dynamic value of the maxwidth parameter.
| Copyright © 1987-2007 ILOG S.A. All rights reserved. Documentation homepage. Legal terms. | PREVIOUS NEXT |