Member of ChemDrawControl.Preferences.
Sets and returns the tolerance of object selection in pixels.
Public Property Tolerance() As Integer
Sets and returns the tolerance of object selection in pixels, i.e. the size of the highlight box and how close you must get to activate an object by setting the tolerance. The standard setting is 5 pixels. At this setting the highlight box appears on bonds if the pointer is located 5 pixels or less from any point on the bonds.
|'Modifies a value of preferences |
Private Sub cmdApplication_click()
Dim myApp As ChemDrawControl11Ctl.Application
Set myApp = ctlChemDraw.Application
myApp.Preferences.Tolerance = 10