Software Developer's Kit - ChemDraw

Send comments on this topic
Units Property
See Also 

Description

Member of ChemDrawControl.Preferences.

Sets and returns the units used to display various measurements, including the rulers.

Property type

Read-write property

Syntax

Visual Basic
Public Property Units() As CDUnits

Return Type

Remarks

Sets and returns the units used to display various measurements, including the rulers.

Example

'Modifies a value of preferences 
 Private Sub cmdApplication_click()
     ctlChemDraw.ActiveDocument.Activate
     Dim myApp As ChemDrawControl11Ctl.Application
     Set myApp = ctlChemDraw.Application
     myApp.Preferences.Units = 
 End Sub

See Also