Turn off rotation and pinpoint by default

Applies to: Nevron Diagram for .NET

How to turn off rotation and pinpoint by default?

If you don’t want our shapes to be rotated, you can disable the rotation and pinpoint trackers globally, instead of on a per shape basis. Take a look at the NTrackersManager class – it is responsible for creating the trackers (and hence handles) for all selected elements. The following code will effectively disable the rotation and pinpoint trackers globally:

[C#]
drawingView.TrackersManager.ShowRotationTrackers = false;
drawingView.TrackersManager.ShowPinPointTrackers = false;

[VB.NET]
drawingView.TrackersManager.ShowRotationTrackers = False
drawingView.TrackersManager.ShowPinPointTrackers = False

Article ID: 43, Created On: 10/5/2010, Modified: 11/15/2010