Creates an instance of the Symbol class with a particular name and type.
Syntax
Diagram Object.CreateSymbol(Name, SAType)
Parameters
Diagram Object
Use: Required
Data type: Object
Any instantiated Diagram class, to which the symbol will be added.
Name
Use: Required
Data type: String
Name of new symbol
SAType
Use: Required
Data type: Long
Type of System Architect symbol that is being created (for example, ETCATELEMBUSPROC or 445). See the SYMBOLS.BAS file in the System Architect directory for a list of System Architect symbols and their internal constant names and numbers.
Note In order to successfully create a System Architect symbol on a diagram, you must invoke the Save method of the diagram class, or else the new symbol will be deleted from the diagram when the encyclopedia is closed.