NotateXpress 13 for .NET - User Guide > How To > Define End-User Interface > Define Cursors |
By default, NotateXpress applies a tool specific cursor when creating, moving, and selecting annotations of that tool type. If desired, these built-in cursors can be turned off, and a system default cursor applied instead. Call the SetUseCursorType and GetUseCursorType methods to specify whether a system default cursor should be used instead of the tool-specific cursors while creating, moving, and selecting annotations.
The user may specify custom cursors to be used instead. By calling SetUseCustomCursorType and GetUseCustomCursorType methods, a custom cursor can be specified for each tool and each action (creating, selecting, moving).
C# Example |
Copy Code
|
---|---|
// define custom cursor private Cursor mynewcursor; mynewcursor = new Cursor("c:\\images\\test.cur"); NotateXpress1.SetUseCustomCursorType(CursorSelection.Creating, AnnotationTool.BlockHighlightTool, mynewcursor); |