Software Developer's Kit - ChemDraw

Send comments on this topic
AutoLassoSelection Property
See Also 

Description

Member of ChemDrawControl.Preferences.

Sets and returns the flag to automatically select recent objects when choosing lasso.

Property type

Read-write property

Syntax

Visual Basic
Public Property AutoLassoSelection() As Boolean

Return Type

Boolean

Remarks

Sets and returns whether the Lasso tool will automatically select recent objects or not.

Example

'Modifies a value of preferences 
 Private Sub cmdApplication_click()
     ctlChemDraw.ActiveDocument.Activate
     Dim myApp As ChemDrawControl11Ctl.Application
     Set myApp = ctlChemDraw.Application
     myApp.Preferences.AutoLassoSelection = True
 End Sub

See Also