The property value is derived from the image tags relating to user information.
imagekitcontrolname.GetFile().GetExif().SetUserCommentID(LPCTSTR Val)
Reference
The UserCommentID property value is derived from the image tag for Exif users to write keywords or comments on the image.
The UserComment tag is identified based on an UserCommentID code in a fixed 8-byte area at the start of the tag data area. The unused portion of the area is padded with NULL("00.H").
Character Code | Code Designation (8 Bytes) | References |
---|---|---|
ASCII | 0x41,0x53,0x43,0x49,0x49,0x00,0x00,0x00 | ITU-T T.50 IA5 |
JIS | 0x4A,0x49,0x53,0x00,0x00,0x00,0x00,0x00 | JIS X0208-1990 |
Unicode | 0x55,0x4E,0x49,0x43,0x4F,0x44,0x45,0x00 | Unicode Standard |
Undefined | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 | Undefined |
In Visual Basic, please replace 0x with &H
Explanation
The UserCommentID property value is derived from the image tags relating to user information. The property value can be set or retrieved by executing the File.GetImageFileType or the File.GetImageFileTypeMem method.
Setting this value
This value can be set at runtime.
Retrieving this value
This value can be retrieved at runtime.
[Differences from the ImageKit7 ActiveX]
In the IK7 this was a read only property. It can now be set.