Software Developer's Kit - ChemDraw

Send comments on this topic
Remove Method
See Also 
index

The location of an object in a collection, counted from the top, starting with 1.

Description

Member of ChemDraw Control.DataObjectFiles.

Removes a DataObject File from the collection.

Syntax

Visual Basic
Public Sub Remove( _
   ByVal index As Variant _
) 

Parameters

index

The location of an object in a collection, counted from the top, starting with 1.

Remarks

Removes a data object file from the collection of data object files.

Example

Private Sub command2_click()
    ChemDrawCtl.DataObject.Files.Remove (CurDir() & "\FileName.cdx")
End Sub

See Also