Returns the graphic format of a Picture object. Not available at design time; read-only at run time.
Syntax
object.Type
The object placeholder represents an object expression that evaluates to an object in the Applies To list.
Return Values
The return values for the Type property are:
Constant | Value | Description |
vbPicTypeNone | 0 | Picture is empty |
vbPicTypeBitmap | 1 | Bitmap (.bmpBMP files) |
vbPicTypeMetafile | 2 | Metafile (.wmfWMF files) |
vbPicTypeIcon | 3 | Icon (.icoICO files) |
vbPicTypeEMetafile | 4 | Enhanced Metafile (.emfEMF files) |
Remarks
These constants are listed in the Visual Basic (VB) object library in the Object Browser.