Extending product function with VBA > The System Architect object model > Object model classes > Diagram class > Diagram class: Methods > GetMetric
  
GetMetric
Calls certain lists, calculations, and pieces of internal functionality pertaining to diagrams.
Syntax
Diagram Object.GetMetric Metric[, FieldType[, NbrChars[, NbrDec]]]
Parameters
Diagram Object
Use: Required
Data type: Object
Any instantiated Diagram class
Metric
Use: Required
Data type: DIAGRAMMETRIC
Diagram Metric, see below for a complete list of all diagram metrics.
FieldType
Use: Optional
Data type: FLDTYPE
Field Type, see Chapter 17 for a complete list of System Architect field types.
NbrChars
Use: Optional
Data type: Long
If the Field Type has been entered, then this parameter tells System Architect how many characters are to be returned before the decimal point.
NbrDec
Use: Optional
Data type: Long
If the Field Type has been entered, then this parameter tells System Architect how many numbers are to be returned after the decimal point.
See also
Diagram class: Methods