Software Developer's Kit - ChemDraw

Send comments on this topic
WarnAboutDataLoss Property
See Also 

Description

Member of ChemDrawControl.Preferences.

Sets and returns the flag indicating whether data loss will be warned when saving to non-native file types.

Property type

Read-write property

Syntax

Visual Basic
Public Property WarnAboutDataLoss() As Boolean

Return Type

Boolean

Remarks

Sets and returns the flag indicating whether data loss will be warned when saving to non-native file types.

Example

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

See Also