Description
Member of ChemDraw Control.
For a list of all members defined for this collection, see Captions Members.
ChemDraw Captions Collection contains all of the caption objects in the document.
Object Model
Remarks
Example
'Declares variables Dim myCaptions As ChemDrawControl11Ctl.Captions Set myCaptions = ctlChemDraw.Selection.Objects.Captions
Private Sub cmdCaptions_Click() 'returns the application of the Captions collection Text1.text = MyCaptions.Application 'returns the number of Captions in the Captions collection Text2.text = MyCaptions.Count 'sets the Item(1) of the Captions collection myCaptions.Item(1).CaptionFace = 2 'returns the face of the caption Text3.text = MyCaptions.Item(1).CaptionFace End Sub |
See Also