Load method (ILEADMarkers)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short Load(BSTR Filename, long lFlags);

Overview

Refer to Markers.

Remarks

Loads metadata markers (COM and APPn) stored in the specified file.

This collection can then be used to save the metadata information. For Exif files, this metadata collection will contain all the Exif and GPS comments (stored in APP1). It will also contain the audio information stored in APP2.

The markers can also be retrieved by calling the TransformFile method. For each marker that the TransformFile method encounters within a file, the TransformMarker event is triggered. Within this event the user sets the WriteMarkerAction property to indicate what action to take with the marker. If the marker is to be written to the output file, the user calls the WriteMarker method.

To save the collection of metadata markers to a file, call the SetMarkers method.

Important Note:

The comments set by setting the Comment property and then calling the Save method, the SaveMemory method or the WriteComment method will override any comments contained in the metadata markers.

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, SetMarkers method, TransformFile method, Type property, WriteMetaData method, LoadOffset method

Topics:

Raster Images: Markers