Gets or sets the extended mode modifier key.
public Keys ExtendedModeModifierKey { get; set; }
Public Property ExtendedModeModifierKey As Keys
The extended mode modifier key.
This key is used to toggle the AnnDrawDesigner.ExtendedMode on and off in design mode.
Extended mode modifies the drawing behavior of the designer. Pressing and holding down the modifier key while drawing makes lines snap to the closest vertical, horizontal, or 45-degree angle, and constrains rectangle and ellipse objects to be sized proportionately when they are drawn so that squares and circles are drawn instead of rectangles and ellipses.
By default, the automation framework sets this value to Keys.Shift
This example disables the extended mode modifier key.
using Leadtools;
using Leadtools.Annotations;
using Leadtools.WinForms;
using Leadtools.Codecs;
public void AnnAutomationManager_ExtendedModeModifierKey(AnnAutomationManager manager)
{
manager.ExtendedModeModifierKey = Keys.None;
}
Imports Leadtools
Imports Leadtools.Annotations
Imports Leadtools.WinForms
Imports Leadtools.Codecs
Public Sub AnnAutomationManager_ExtendedModeModifierKey(ByVal manager As AnnAutomationManager)
manager.ExtendedModeModifierKey = Keys.None
End Sub
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