Software Developer's Kit - ChemDraw

Send comments on this topic
Metafile Property
See Also 


Member of ChemDrawControl.Objects.

Returns a Windows metafile file suitable for use by a StdPicture object

Property type

Read-only property


Visual Basic
Public Property Metafile() As Picture

Return Type


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


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

See Also