# GetGraphPoints::SetCursor

## Description

This optional method allows specifying the cursor pattern displayed for pick points on the graph. It must be called prior to calling GetGraphPoints::GetPoints().

## Syntax

BOOL SetCursor(int nType)


## Parameters

nType
[input] The type of the cursor. Can be one of the following types:
CURSOR_VERTICAL_GRID_LINES
CURSOR_HORIZONTAL_GRID_LINES
or use -1 for default cursor icon.

## Return

Returns TRUE if successful.

## Examples

For an example of using this method, please see the Example Section in GetGraphPoints.