Software Developer's Kit - ChemDraw

Send comments on this topic
Bitmap Property
See Also 

Description

Member of ChemDrawControl.Objects.

Returns a bitmap suitable for use by a StdPicture Object

Property type

Read-only property

Syntax

Visual Basic
Public Property Bitmap() As Picture

Return Type

Remarks

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

The bitmap class inherits from the Image class. The Image class provides methods for loading and saving vector images (metafiles) and raster images (bitmaps)

Example

'Bitmap   
 Private Sub cmdCommand_Click() 
     Dim myPicture as ChemDrawControl10Ctl.Picture
     Dim myObjects as ChemDrawControl10Ctl.Objects
    'bitmap suitable for StdPicture
     vbPictureBox = myObjects.bitmap
 End Sub

See Also