Returns the picture type.
[ enType = ] Object.Type
The Type property syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
AMenu |
AMenu object |
|
enType |
enumAPictureType |
An integer specifying the picture type. |
enumAPictureType can be one of the following:
|
Name |
Value |
Description |
|
apicTypeUnitialized |
-1 |
Unitialized. The picture object is currently uninitialized. |
|
apicTypeNone |
0 |
None. A new picture object is to be created without an initialized state. |
|
apicTypeBitmap |
1 |
Bitmap |
|
apicTypeMetafile |
2 |
Metafile |
|
apicTypeIcon |
3 |
Icon |
|
apicTypeEnhMetafile |
4 |
Enhanced Metafile. The picture type is a Win32-enhanced metafile. |
This property is read-only at run time.
The following statement returns the APicture's Type:
lpic1Type = pic1.Type