Type Property (APicture)

Returns the picture type.

Syntax

[ 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.

Where

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.

Comments

This property is read-only at run time.

Example

The following statement returns the APicture's Type:

lpic1Type = pic1.Type

Applies to

APicture

See Also

Handle