Software Developer's Kit - ChemDraw

Send comments on this topic
MakeCaption Method
See Also 

Description

Member of ChemDraw Control.Document.

Creates a new caption in the document

Syntax

Visual Basic
Public Function MakeCaption() As Caption

Return Type

Example

'Declares variables 
 Dim myDocument As
ChemDrawControl11Ctl.Document 
 Private Sub cmdCommand_Click()
     
Set MyCaption = myDocument.MakeCaption
     myCaption.selected = True  
     ctlChemDraw.Zoom 1000
 End Sub

See Also