CAViewer::SetRowColDim

CAViewer class

Sets the row and column dimensions.

BOOL SetRowColDim(
  short rowdim,
  short coldim
  );

Parameters

rowdim
The array dimension to be viewed as rows.

coldim
The array dimension to viewed as columns.

Return Value

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

Remarks

For arrays of rank 3 or higher, the Array Viewer displays the array data as a 2D sub-array of the higher dimension array. The rowdim and coldim values define which two dimensions of the array get mapped as rows and columns, respectively.

For arrays of rank 2, this function can be used to control which dimension gets mapped as rows. For arrays of rank 1, this function has no effect.

See Also

CAViewer::GetRowColDim