Customizing the metamodel > Symbols: Creating and modifying > Depicting a symbol with an image > User-defined symbol presentation based on property value
  
User-defined symbol presentation based on property value
There is a property labeled “Symbol Depiction” for every symbol type. The first image file referenced in this property overrides all other depiction sources.
You can also specify how a symbol is drawn based on the value of a property of the symbol’s definition. In UML, this property is generally a stereotype. However, this functionality applies across the board to all symbol types, not just UML symbols, and not just to the stereotype property.
To enable this function, the Depictions clause is used in a List in USRPROPS.TXT. For example, here is an example of how a class stereotype is handled in SAPROPS.CFG:
List "Class Stereotypes"
{
Value "actor" depictions {diagram images\slctact.wmf menu images\slctact.bmp}
...
}
An Images folder in every encyclopedia houses .bmp files or .wmf files to support this function.
See also
Depicting a symbol with an image