RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDecisionSource.GetDimensionName Method

Returns the display name for a dimension.

Pascal
function GetDimensionName(iDim: Integer): String;
C++
__fastcall AnsiString GetDimensionName(int iDim);

Call GetDimensionName to obtain a name to display as a label for the dimension. The iDim parameter is the absolute index of the dimension, where 0 indicates the first active dimension in the decision cube, 1 indicates the second active dimension, and so on. To convert from a row-specific or column-specific dimension index into an absolute dimension index, use the GetActiveDim method. 

The name of a dimension is often the name of the field the dimension represents. The dimension name can be changed in the Decision Cube Editor or by setting the Name property of the dimension in the dimension map of the decision cube. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!