LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

SelectObjectCursor Property

Example 





Gets or sets the System.Windows.Forms.Cursor mouse pointer image used when hovering over an unselected annotation object.
Syntax
public Cursor SelectObjectCursor {get; set;}
'Declaration
 
Public Property SelectObjectCursor As Cursor
'Usage
 
Dim instance As AnnAutomationManager
Dim value As Cursor
 
instance.SelectObjectCursor = value
 
value = instance.SelectObjectCursor
public Cursor SelectObjectCursor {get; set;}
 get_SelectObjectCursor();
set_SelectObjectCursor(value);
public:
property Cursor^ SelectObjectCursor {
   Cursor^ get();
   void set (    Cursor^ value);
}

Property Value

The System.Windows.Forms.Cursor mouse pointer image used when hovering over an unselected annotation object.
Remarks
Used when UserMode is AnnUserMode.Design
Example
 
Public 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.ControlPointCursor = Cursors.Cross
   ' Set the cursor used in design mode when dragging and selecting a group of objects
   manager.SelectRectangleCursor = Cursors.Default
   ' Set the cursor used in run mode when hovering over an object
   manager.RunCursor = Cursors.Hand
   ' Set the cursor used in design mode when hovering over an upper left/lower right control point
   manager.ControlPointNWSECursor = Cursors.PanNW
   ' Set the cursor used in design mode when hovering over an upper right/lower left control point
   manager.ControlPointNESWCursor = Cursors.PanNE
   ' Set the cursor used in design mode when hovering over an upper/lower middle control point
   manager.ControlPointNSCursor = Cursors.PanNorth
   ' Set the cursor used in design mode when hovering over an side middle control point
   manager.ControlPointWECursor = Cursors.PanWest
   ' Set the cursor used in design mode when hovering over the rotate center control point
   manager.RotateCenterControlPointCursor = Cursors.Hand
   ' Set the cursor used in design mode when hovering over the rotate gripper control point
   manager.RotateGripperControlPointCursor = Cursors.SizeAll
End Sub
public 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.ControlPointCursor = Cursors.Cross;
   // Set the cursor used in design mode when dragging and selecting a group of objects
   manager.SelectRectangleCursor = Cursors.Default;
   // Set the cursor used in run mode when hovering over an object
   manager.RunCursor = Cursors.Hand;
   // Set the cursor used in design mode when hovering over an upper left/lower right control point
   manager.ControlPointNWSECursor = Cursors.PanNW;
   // Set the cursor used in design mode when hovering over an upper right/lower left control point
   manager.ControlPointNESWCursor = Cursors.PanNE;
   // Set the cursor used in design mode when hovering over an upper/lower middle control point
   manager.ControlPointNSCursor = Cursors.PanNorth;
   // Set the cursor used in design mode when hovering over an side middle control point
   manager.ControlPointWECursor = Cursors.PanWest;
   // Set the cursor used in design mode when hovering over the rotate center control point
   manager.RotateCenterControlPointCursor = Cursors.Hand;
   // Set the cursor used in design mode when hovering over the rotate gripper control point
   manager.RotateGripperControlPointCursor = Cursors.SizeAll;
}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnAutomationManager Class
AnnAutomationManager Members
ControlPointCursor Property
RunCursor Property
SelectedObjectCursor Property
SelectRectangleCursor Property

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.