←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#
Objective-C
C++/CLI
Java
Python
public bool ForceSelectionModifierKey { get; set; } 
@property (nonatomic, assign) BOOL forceSelectionModifierKey NS_AVAILABLE_MAC(10_10); 
public boolean getForceSelectionModifierKey() 
public void setForceSelectionModifierKey(boolean value) 
public:  
   property bool ForceSelectionModifierKey 
   { 
      bool get() 
      void set(bool value) 
   } 
ForceSelectionModifierKey # get and set (AnnAutomationManager) 

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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.