Software Developer's Kit - ChemDraw

Send comments on this topic
dataType Object
See Also  Members 

Description

Member of ChemDraw Control.

For a list of all members defined for this object, see DataType Members.

ChemDraw DataType Class represents a DataType object in the ChemDraw application.

Remarks

A DataType object defines a data type, which is composed of an extension, a MIME type and a flag indicating whether it is valid.

Example

 Dim myDataType As DataType, i As Integer, s As String
 Debug.Print "Exportable types are: " 
 'shows export data types 
 For  Each myDataType In ChemDrawCtl1.ExportDataTypes
      s = myDataType.MIME
      If  myDataType.Extension <> "" Then
          s = s & " (" & myDataType.Extension & ")"
          chr$(13)
      End If
      Debug.Print vbTab & s
 Next myDataType

See Also