Partager via


CPictureHolder::GetType

Indicates whether the picture is a bitmap, metafile, or icon.

short GetType( );

Return Value

A value indicating the type of the picture. Possible values and their meanings are as follows:

Value

Meaning

PICTYPE_UNINITIALIZED

CPictureHolder object is unititialized.

PICTYPE_NONE

CPictureHolder object is empty.

PICTYPE_BITMAP

Picture is a bitmap.

PICTYPE_METAFILE

Picture is a metafile.

PICTYPE_ICON

Picture is an icon.

Requirements

Header: afxwin.h

See Also

Reference

CPictureHolder Class

Hierarchy Chart