CAViewer::SetGridDensity

CAViewer class

Sets a value that determines how finely the grid is drawn on the graph surface.

BOOL SetGridDensity(
  float newVal
  );

Parameters

newVal
A floating-point value that represents the desired number of pixels between adjacent grid lines.

Return Value

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

Remarks

This function has no effect unless the ShowGrid value is TRUE and the GraphStyle is Surface.

See Also

CAViewer::GetGridDensity, CAViewer::GetGraphStyle