Software Developer's Kit - ChemDraw

Send comments on this topic
Item Method
See Also 
index

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

Description

Member of ChemDraw Control.SGProperties. 

Given an index, returns one SGProperty from the SGProperties collection.

Syntax

Visual Basic
Public Function Item( _
   ByVal index As Long _
) As SGProperty

Parameters

index

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

Return Type

Remarks

Working with this property, allows referencing any given property of a collection of SGProperties, and all the SGProperties properties are available.

MySGProperties.Item(i).Color        returns or sets the color of one property in the collection
MySGProperties.Item(i).Text            returns the ObectTag of one property in the collection

See Also