WriteMetaData method (ILEADRasterIO)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short WriteMetaData(BSTR FileName, long lFlags)

Overview

Refer to Markers.

Remarks

Writes metadata of the specified type to the specified file.

This method can be used to update an existing file (fileName) 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

Elements:

Count property, CopyMarkers method, CreateMarkers method, DeleteMarker method, DeleteMarkerAt method, Element property, ElementCount property, EnumerateMarkers event, EnumMarkers method, GetMarker method, GetMarkers method, InsertMarker method, Save method, SaveBuffer method, SaveMemory method, SaveOffset method, SaveMemory method, SaveLayers method, SetMarkers method, TransformFile method, Type property

Topics:

Raster Images: Markers