Software Developer's Kit - ChemDraw

Send comments on this topic
Scale Method
See Also 
factor
A double number that indicates by how much the objects will be scaled.
scaleLabels
Indicates whether labels will be scaled as well or not, default is True.
scaleSettings
Indicates whether the settings will be scaled as well or not, default is True.

Description

Member of ChemDrawControl.Objects.

Scale the objects by a specific factor

Syntax

Visual Basic
Public Sub Scale( _
   ByVal factor As Double, _
   Optional ByVal scaleLabels As Boolean = True, _
   Optional ByVal scaleSettings As Boolean = True _
) 

Parameters

factor
A double number that indicates by how much the objects will be scaled.
scaleLabels
Indicates whether labels will be scaled as well or not, default is True.
scaleSettings
Indicates whether the settings will be scaled as well or not, default is True.

Example

'Scales 
 Private Sub Command1_Click()
     Dim myOBjs As ChemDrawCtl.Objects 
     Set myObjs = ChemDrawCtl.Selection.Objects
     myObjs.Scale 200
 End Sub

See Also