Gets or sets the System.Windows.Input.Cursor mouse pointer image used when hovering over an unselected annotation object.
public Cursor SelectObjectCursor {get; set;}Public Property SelectObjectCursor As CursorThe System.Windows.Input.Cursor mouse pointer image used when hovering over an unselected annotation object.
Used when UserMode is AnnUserMode.Design
This example sets the automation manager to various mouse cursors.
Imports Leadtools.Windows.ControlsImports Leadtools.Windows.AnnotationsPrivate Sub AnnAutomationManager_SelectObjectCursor(ByVal manager As AnnAutomationManager)' Set the cursor used in design mode hovering over an unselected annotation object.manager.SelectObjectCursor = Cursors.Cross' Set the cursor used in design mode when the cursor is over a selected object (but not over the control points).manager.SelectedObjectCursor = Cursors.Hand' Set the cursor used in design mode when cursor is over a control point.manager.ControlPoint.Cursor = Cursors.Cross' Set the cursor used in design mode when dragging and selecting a group of objectsmanager.SelectRectangleCursor = Cursors.Arrow' Set the cursor used in run mode when hovering over an objectmanager.RunCursor = Cursors.Hand' Set the cursor used in design mode when hovering over an upper left/lower right control pointmanager.ControlPointNWSECursor = Cursors.ScrollNW' Set the cursor used in design mode when hovering over an upper right/lower left control pointmanager.ControlPointNESWCursor = Cursors.ScrollNE' Set the cursor used in design mode when hovering over an upper/lower middle control pointmanager.ControlPointNSCursor = Cursors.ScrollN' Set the cursor used in design mode when hovering over an side middle control pointmanager.ControlPointWECursor = Cursors.ScrollW' Set the cursor used in design mode when hovering over the rotate center control pointmanager.RotateCenterControlPoint.Cursor = Cursors.Hand' Set the cursor used in design mode when hovering over the rotate gripper control pointmanager.RotateGripperControlPoint.Cursor = Cursors.SizeAllEnd Sub
using Leadtools.Windows.Controls;using Leadtools.Windows.Annotations;using Leadtools.Demos;using Leadtools.Help;private void AnnAutomationManager_SelectObjectCursor(AnnAutomationManager manager){// Set the cursor used in design mode hovering over an unselected annotation object.manager.SelectObjectCursor = Cursors.Cross;// Set the cursor used in design mode when the cursor is over a selected object (but not over the control points).manager.SelectedObjectCursor = Cursors.Hand;// Set the cursor used in design mode when cursor is over a control point.manager.ControlPoint.Cursor = Cursors.Cross;// Set the cursor used in design mode when dragging and selecting a group of objectsmanager.SelectRectangleCursor = Cursors.Arrow;// Set the cursor used in run mode when hovering over an objectmanager.RunCursor = Cursors.Hand;// Set the cursor used in design mode when hovering over an upper left/lower right control pointmanager.ControlPointNWSECursor = Cursors.ScrollNW;// Set the cursor used in design mode when hovering over an upper right/lower left control pointmanager.ControlPointNESWCursor = Cursors.ScrollNE;// Set the cursor used in design mode when hovering over an upper/lower middle control pointmanager.ControlPointNSCursor = Cursors.ScrollN;// Set the cursor used in design mode when hovering over an side middle control pointmanager.ControlPointWECursor = Cursors.ScrollW;// Set the cursor used in design mode when hovering over the rotate center control pointmanager.RotateCenterControlPoint.Cursor = Cursors.Hand;// Set the cursor used in design mode when hovering over the rotate gripper control pointmanager.RotateGripperControlPoint.Cursor = Cursors.SizeAll;}
using Leadtools.Windows.Controls;using Leadtools.Windows.Annotations;using Leadtools.Examples;using Leadtools.Silverlight.Demos;private void AnnAutomationManager_SelectObjectCursor(AnnAutomationManager manager){// Set the cursor used in design mode when the cursor is over a selected object (but not over the control points).manager.SelectedObjectCursor = Cursors.Hand;// Set the cursor used in design mode when dragging and selecting a group of objectsmanager.SelectRectangleCursor = Cursors.Arrow;// Set the cursor used in run mode when hovering over an objectmanager.RunCursor = Cursors.Hand;// Set the cursor used in design mode when hovering over the rotate center control pointmanager.RotateCenterControlPoint.Cursor = Cursors.Hand;// Set the cursor used in design mode when hovering over the rotate gripper control pointmanager.RotateGripperControlPoint.Cursor = Cursors.SizeWE;}
Imports Leadtools.Windows.ControlsImports Leadtools.Windows.AnnotationsImports Leadtools.Silverlight.DemosPrivate Sub AnnAutomationManager_SelectObjectCursor(ByVal manager As AnnAutomationManager)' Set the cursor used in design mode when the cursor is over a selected object (but not over the control points).manager.SelectedObjectCursor = Cursors.Hand' Set the cursor used in design mode when dragging and selecting a group of objectsmanager.SelectRectangleCursor = Cursors.Arrow' Set the cursor used in run mode when hovering over an objectmanager.RunCursor = Cursors.Hand' Set the cursor used in design mode when hovering over the rotate center control pointmanager.RotateCenterControlPoint.Cursor = Cursors.Hand' Set the cursor used in design mode when hovering over the rotate gripper control pointmanager.RotateGripperControlPoint.Cursor = Cursors.SizeWEEnd Sub
|
Products |
Support |
Feedback: SelectObjectCursor Property - Leadtools.Windows.Annotations |
Introduction |
Help Version 19.0.2017.3.22
|

Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.