Visual Basic (Declaration) | |
---|---|
Public Overloads Function Calculate( _ ByVal name As String, _ ByVal calculation As Calculation, _ ByVal subValueSource As ElementValue _ ) As Element |
Visual Basic (Usage) | ![]() |
---|---|
|
C# | |
---|---|
public Element Calculate( string name, Calculation calculation, ElementValue subValueSource ) |
Parameters
- name
- Name of the returned element.
- calculation
- Calculation to perform.
- subValueSource
- The ElementValue to store in the resulting element's SubValue collection.
Return Value
Returns an Element object based on the specified calculation. The element values used to derive the resulting element are stored in the element's SubValues collection.
This method can be useful when using MicroCharts in conjunction with the element
%SubValueList token.