RegionEvaluableGetBestDimension(SessionProfile, Term, String) Method
Looks up for the best output dimension ID and unit of measurement for the given calculation result.
Namespace: SMath.ControlsAssembly: SMath.Controls (in SMath.Controls.dll) Version: 1.73.9126.0
protected static int GetBestDimension(
SessionProfile sessionProfile,
Term[] term,
out string unitName
)
Protected Shared Function GetBestDimension (
sessionProfile As SessionProfile,
term As Term(),
<OutAttribute> ByRef unitName As String
) As Integer
protected:
static int GetBestDimension(
SessionProfile^ sessionProfile,
array<Term^>^ term,
[OutAttribute] String^% unitName
)
static member GetBestDimension :
sessionProfile : SessionProfile *
term : Term[] *
unitName : string byref -> int
- sessionProfile SessionProfile
- Session properties.
- term Term
- Units provided in the calculation result.
- unitName String
- Returns best applicable unit of measurement.
Int32The best applicable dimension ID.