Software Developer's Kit - ChemDraw

Send comments on this topic
EnhancedMetafile Property
See Also 

Description

Member of ChemDrawControl.Objects.

Returns an enhanced metafile file suitable for use by a StdPicture object

Property type

Read-only property

Syntax

Visual Basic
Public Property EnhancedMetafile() As Picture

Return Type

Remarks

Property EnhancedMetafile as IPictureDisp, which is a member of stdole library (properties: handle, height, hPal, type and width; method: render).

Example

'Enhanced metafile   
 Private Sub cmdCommand_Click() 
     Dim myPicture as ChemDrawControl10Ctl.Picture
     Dim myObjects as ChemDrawControl10Ctl.Objects
    'Enhanced Metafile suitable for StdPicture
     Set MyPicture = myObjects.EnhancedMetafile
 End Sub

See Also