Software Developer's Kit - ChemDraw

Send comments on this topic
CheckStructure Property
See Also 

Description

Member of ChemDrawControl.Preferences.

Sets and returns the flag to check the structure when copying.

Property type

Read-write property

Syntax

Visual Basic
Public Property CheckStructure() As Boolean

Return Type

Boolean

Remarks

Sets and returns whether the structure will be checked when copying, 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.CheckStructure = True
 End Sub

See Also