Accusoft.NotateXpress12.Net
SetUseCustomCursorType Method
See Also  Example Send Feedback
Accusoft.NotateXpressSdk Namespace > NotateXpress Class : SetUseCustomCursorType Method




cursorType
Type of the cursor.
tool
The Annotation tool.
customCursor
The custom cursor handle.

Glossary Item Box

This is for replacing the built in cursors that are created by turning on SetUseCursorType.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

cursorType
Type of the cursor.
tool
The Annotation tool.
customCursor
The custom cursor handle.

Remarks

Note: This should be set once as its associated with the NotateXpress object.

Make sure that the icon does not go out of scope, as the application controls ownership of the icon. .NET cursors only support Black and White.

If you want to use color cursors one option is to use the win32 LoadCursorFromFile

Example

How to load in a cursor handle
C#Copy Code
private Cursor mynewcursor;
mynewcursor = new Cursor("c:\\images\\test.cur");
NotateXpress1.SetUseCustomCursorType(CursorSelection.Creating, AnnotationTool.BlockHighlightTool, mynewcursor);

See Also

©2013. Accusoft Corporation. All Rights Reserved.