A PropertyItem structure holds one piece of image metadata.
C++ Syntax
typedef struct PropertyItem {
PROPID id;
ULONG length;
WORD type;
void * value;
};
FreeBASIC 语法
TYPE PropertyItem
id AS PROPID
length AS ULONG
wtype AS WORD
value AS ANY PTR
END TYPE
成员
id
Integer that identifies the kind of metadata stored in this PropertyItem object. Constants that identify various kinds of metadata (PropertyTagEquipMake, PropertyTagEquipModel, and the like) are defined in Gdiplusimaging.inc. The PROPID data type is defined in Wtypes.inc.
length
Size, in bytes, of the value array.
wtype
Integer that identifies the data type of the values in the value array. Constants that identify various data types (PropertyTagTypeByte, PropertyTagTypeASCII, and the like) are defined in Gdiplusimaging.inc.
value
Pointer to an array of values. Each value in the array has the data type specified by the type data member.