Image property tag type constants
You can store and retrieve image metadata with the help of a PropertyItem object. The type data member of a PropertyItem object specifies the data type of the values stored in the value data member of that same PropertyItem object.
The following constants, defined in Gdiplusimaging.h
, can be assigned to the type data member of a PropertyItem object.
Constant | Description |
---|---|
|
Specifies that the value data member is a null-terminated ASCII string. If you set the type data member of a PropertyItem object to PropertyTagTypeASCII, you should set the length data member to the length of the string including the NULL terminator. For example, the string HELLO would have a length of 6. |
|
Specifies that the value data member is an array of bytes. |
|
Specifies that the value data member is an array of unsigned long (32-bit) integers. |
|
Specifies that the value data member is an array of pairs of unsigned long integers. Each pair represents a fraction; the first integer is the numerator and the second integer is the denominator. |
|
Specifies that the value data member is an array of unsigned short (16-bit) integers. |
|
Specifies that the value data member is an array of signed long (32-bit) integers. |
|
Specifies that the value data member is an array of pairs of signed long integers. Each pair represents a fraction; the first integer is the numerator and the second integer is the denominator. |
|
Specifies that the value data member is an array of bytes that can hold values of any data type. |
Requirements
Requirement | Value |
---|---|
Header |
|
See also
Feedback
Submit and view feedback for