CAViewer::SetDimName

CAViewer class

Associates a name with the given dimension.

BOOL SetDimName(
  short dim
  const char *name
  );

Parameters

dim
The array dimension that the following argument will be applied to. The dimension must be in the range 0 to rank-1, where rank is the rank of the currently loaded array.

name
The text string to be associated with the given dimension.

Return Value

Returns TRUE if the operation was successful; otherwise, FALSE.

Remarks

The Graph View displays the dimension name as an axis label when the given dimension is assigned as either a row or column dimension, and SetUseAxisLabel has been set to FALSE for the indicated axis.

The Data View will display the dimension names as long as SetShowDimLabels has been enabled.

See Also

CAViewer::SetShowDimLabels, CAViewer::SetRowColDim, CAViewer::SetUseAxisLabel, CAViewer::GetDimName