Available in the LEADTOOLS Imaging toolkit. |
ReadComment method (Main Control)
Visual Basic
example
Visual C++ 4.0 example
Visual J++ example
Syntax VARIANT ReadComment (BSTR pszFile, long lPage, short iIndex);
Overview: Refer to Maintaining File Comments.
Remarks
Returns the value of the specified comment in an image file.
Some file formats can contain comments, and some cannot, and each file format has its own set of comment types. With the ReadComment method, you can get the value of any comment in the file. The index into the array of comments determines the type of comment, as described in Types of File Comments.
The Comment property specifies the comments to be saved when you save an image in a file. If you want to preserve existing comments in the file when you save the image, you must use the ReadComment method to update the Comment property array.
See Also
Elements: Comment property