Software Developer's Kit - ChemDraw

Send comments on this topic
ZoomIn Method
See Also 
Center
Indicates a point round which the drawing is zoomed.

Description

Member of ChemDrawCtl.

Increment the document's magnification level.

Syntax

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

Parameters

Center
Indicates a point round which the drawing is zoomed.

Remarks

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

Example

'ZoomIn 
 Private Sub cmdZoom_Click()
    Dim myObject as ChemDrawControl10Ctl.Object 
    Dim myPoint  as ChemDrawControl10Ctl.Point
    Set myPoint = myObject.Position 
    'this will ZoomIn
    ctlChemDraw.ZoomIn myPoint  
 End Sub

See Also