Description

Returns an IPicture filled with a bitmap or memory-based EnMetaFile.

Return Type

An Unknown object.  

An IPicture (and IPictureDisp) holding a snapshot of the current display as either a Bitmap or an Enhanced Metafile.

Syntax

object.CreatePicture ([BitmapElseEnhMetafile])

The CreatePicture Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDisplay.
BitmapElseEnhMetafileOptional. A Boolean value.

VARIANT_BOOL : If TRUE (the default) the Picture is created as a standard device dependent bitmap. If false, the picture is created as an enhanced metafile.