Member of ChemDrawControl.Objects.
Sets and returns the data of the objects
- A data type is an extension, a MIME type and a flag indicating whether it is valid.
- Indicates how many pages wide.
- Indicates how many pages high.
ChemDrawCtl1.Data("chemical/x-smiles") = strSMILES
'if the string was not recognized, the control is empty
If ChemDrawCtl1.Objects.Count = 0 Then
MsgBox "'" & strSMILES & "' is not recognized as a valid SMILES string.", _