←Select platform

ForceSelectionModifierKey Property

Summary

Gets or sets a value that indicates whether the user can draw the selection object only when one of its key modifiers is pressed.

Syntax
C#
VB
Java
Objective-C
C++
public bool ForceSelectionModifierKey { get; set; } 
Public Property ForceSelectionModifierKey As Boolean 
@property (nonatomic) BOOL forceSelectionModifierKey; 
public boolean getForceSelectionModifierKey() 
public void setForceSelectionModifierKey(boolean value) 
public:  
   property bool ForceSelectionModifierKey 
   { 
      bool get() 
      void set(bool value) 
   } 

Property Value

true if the user can draw the selection object only when one of its key modifiers is pressed; otherwise, false. The default value is false.

Remarks

ForceSelectionModifierKey and SelectionModifierKey are used when the selection automation object (SelectObjectId is present). This object allows the user to select multiple annotation objects by clicking anywhere on the container outside the boundaries of any of the other objects and drawing a rubber band.

When the value of ForceSelectionModifierKey is false (the default), then SelectionModifierKey is not used and the user can start drawing the selection rubber band using the mouse (or touch) only.

When the value of ForceSelectionModifierKey is true, then the user can only start drawing the selection rubber band if the modifier specified is also pressed.

ForceSelectionModifierKey is only used if the current platform supports a physical keyboard.

Requirements

Target Platforms

Help Version 20.0.2019.9.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly