Software Developer's Kit - ChemDraw

Send comments on this topic
PostScriptPreviewUsesWMF Property
See Also 

Description

Member of ChemDrawControl.Preferences.

Sets and returns the flag to include a WMF preview when producing PostScript files.

Property type

Read-write property

Syntax

Visual Basic
Public Property PostScriptPreviewUsesWMF() As Boolean

Return Type

Boolean

Remarks

Sets and returns whether to include a WMF (windows metafile format) preview when producing PostScript files with a preview.

Example

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

See Also