This property sets the comment that can be saved in some types of image files. By executing the GetImagefileType or the GetImagefileTypeMem methods, any comments that exist in an image are retrieved.

[C++Builder]   imagekitcontrolname->FileIO->Comment[ = UnicodeString ]
[Delphi]   imagekitcontrolname.FileIO.Comment[ = string ]

Property Value

The comment string (Maximum length:2047 bytes)

Explanation

The Comment property sets the comment that can be saved in some types of image files. By executing the GetImagefileType or the GetImagefileTypeMem methods, any comments that exist in an image are retrieved.

The type of comment and its syntax depends on the file format. The following image file formats support comments and their syntax is given below. If the particular image file does not support a comment, then this property is ignored for those image files.

Name Explanation
FPX Title+0x0d+Subtitle+0x0d+Author+0x0d+Comment+0x0d
GIF Comment
JPEG Comment
JPEG2000 Title+0x0d+Subtitle+0x0d+Author+0x0d+Comment+0x0d
PNG Title+0x0d+Author+0x0d+Explanation+0x0d+Copyright+0x0d+DateTime+0x0d+Software+0x0d+Waiver+0x0d+Warning+0x0d+Input Devices+0x0d+Comment+0x0d
TIFF Document Name+0x0d+Image Explanation+0x0d+Page Name+0x0d+Software+0x0d+Date Time+0x0d+Author+0x0d

Note: please enter a blank string into any unnecessary fields. In hexidecimal notation, Delphi uses an 0x instead of a $.

Setting this value

This value can be set at run-time.

Retrieving this value

This value can be retrieved at run-time.

 

The ImageKit10 VCL is a product created by Newtone Corporation