Software Developer's Kit - ChemDraw

Send comments on this topic
WrapReactionsToFit Property
See Also 

Description

Member of ChemDrawCtl.

Sets and returns whether the multicomponent reaction schemes should be wrapped to best fit the shape of the control.

Property type

Read-write property

Syntax

Visual Basic
Public Property WrapReactionsToFit() As Boolean

Return Type

Boolean

Remarks

If WrapReactionsToFit is true it reduces the drawing to fit into the control´s drawing space.

Example

Private Sub cmdCommand_Click()
   'shrinks drawing to fit the control´s drawing space
    If  ChemDrawCtl.WrapReactionsToFit = True Then
        ChemDrawCtl.WrapReactionsToFit = False
    Else
        ChemDrawCtl.WrapReactionsToFit = True
    End If
End Sub

See Also