Software Developer's Kit - ChemDraw

Send comments on this topic
Magnification Property
See Also 

Description

Member of ChemDrawCtl.

Sets and returns magnification level for the control as a percentage.

Property type

Read-write property

Syntax

Visual Basic
Public Property Magnification() As Double

Return Type

Double

Example

'Declares variables 
 Dim myDocument As ChemDrawControl11Ctl.Document 
 Dim myApp As ChemDrawControl11Ctl.Application

 Private Sub cmdCommand_Click()
     Set MyApp = ctlChemDraw.Application
     Set myDocument = myApp.ActiveDocument 
     Command2.Caption = ChemDrawCtl.Magnification
 End Sub

See Also