Software Developer's Kit - ChemDraw

Send comments on this topic
Text Property
See Also 


Member of ChemDraw Control.SGProperty.

Returns the ObjectTag that displays the property data of this stoichiometry grid property.

Property type

Read-only property


Visual Basic
Public Property Text() As ObjectTag

Return Type


An ObjectTag allows the user to attach an arbitrary piece of information to any ChemDraw object. This information can later be retrieved. ObjectTags are primarily tools for users to build their applications with.

The value of an ObjectTag can be a string of characters, a floating point number, or an integer number.  Those values are set or retrieved by the StringValue, DoubleValue and LongValue properties. 


 Private Sub cmdCommand_Click()
     Set myText = ctlChemDraw.Objects.StoichiometryGrids.Item(1). _
     Text1.text = myText 
     myText = "example" 
 End Sub

See Also