Software Developer's Kit - ChemDraw

Send comments on this topic
Valid Property
See Also 

Description

Member of ChemDraw Control.DataType.

Indicates if the data type is valid.

Property type

Read-only property

Syntax

Visual Basic
Public Property Valid() As Boolean

Return Type

Boolean

Remarks

Returns whether the data type is valid or not.

Example

 Dim myDataType As DataType, i As Integer, s As String, b as Boolean
 Debug.Print "Exportable types are: "
 For  Each myDataType In ChemDrawCtl1.ExportDataTypes
      s = myDataType.MIME    
      'shows Valid 
      b = myDataType.Valid
      If  myDataType.Extension <> "" Then
          b = b & " (" & myDataType.Valid & ")"

          chr$(13)
      End If
      Debug.Print vbTab & b
 Next myDataType

See Also