Software Developer's Kit - ChemDraw

Send comments on this topic
WrapWidth Property
See Also 

Description

Member of ChemDraw Control.Caption.

Returns the wrap width for this caption.

Property type

Read-write property

Syntax

Visual Basic
Public Property WrapWidth() As Double

Return Type

Double

Remarks

Returns the wrap width for the caption.

Example

'Declares a variable Caption
 Dim vCaption As ChemDrawControl10Ctl.Caption 

'This example sets and returns data from a caption 
 Private Sub cmdCommand_Click()
     Set vCaption = ctlChemDraw.Captions.Item(1)
     Text1.text = vCaption.WrapWidth 
     vCaption.WrapWidth = 70
 End Sub

See Also