Software Developer's Kit - ChemDraw

Send comments on this topic
SaveFormat Property
See Also 

Description

Member of ChemDrawControl.Preferences.

Sets and returns the file format that the Save dialog will default to.

Property type

Read-write property

Syntax

Visual Basic
Public Property SaveFormat() As CDFormat

Return Type

Remarks

Lists available file formats that the Save dialog will default to, if it is set to default to a specific file format. 

Example

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

See Also