Software Developer's Kit - ChemDraw

Send comments on this topic
ZoomOut Method
See Also 
Center
Indicates the center point, round which everything will be zoomed out.

Description

Member of ChemDrawCtl.

Decrement the document's magnification level.

Syntax

Visual Basic
Public Sub ZoomOut( _
   Optional ByVal Center As Point = 0 _
) 

Parameters

Center
Indicates the center point, round which everything will be zoomed out.

Remarks

Decrement the document's magnification level. Every time the method is invoked, the drawing will zoom out.

Example

'ZoomOut 
 Private Sub cmdZoom_Click()
    Dim myObject as ChemDrawControl10Ctl.Object 
    Dim myPoint  as ChemDrawControl10Ctl.Point
    Set myPoint = myObject.Position 
    'this will zoom out every time it´s invoked
    ctlChemDraw.ZoomOut myPoint  
End Sub

See Also