WriteMetaData method (Marker Control)
Builder Syntax |
int WriteMetaData (AnsiString strFileName, unsigned uFlags); |
Delphi Syntax |
Function WriteMetaData (strFileName:String; uFlags: Cardinal): Integer; |
Overview |
Refer to Implementing Markers. |
Remarks
Writes metadata of the specified type to the specified file.
This method can be used to update an existing file (strFileName) with comments, tags and/or markers.
When you add or remove comments or tags, the comments and tags array at the end of the TIFF/Exif image file is re-written. When you modify existing comments or tags, the new value is added to the file and the IFD is modified as necessary. In all of these cases, there is no image recompression.
The comments are set by setting the Comment property and then calling either the Save method, the SaveMemory method or the WriteComment method.
The tags are set by calling the SetTag method, prior to calling this method.
The markers are set by calling the SetMarkers method, prior to calling this method.
See Also