SetMarkers method (Marker Control)

C++ Builder example

Delphi example

 

Builder Syntax

int SetMarkers (TLEADMarker* Marker, int uFlags);

Delphi Syntax

Function SetMarkers (Marker: TLEADMarker; uFlags: LongInt): Integer;

Overview

Refer to Implementing Markers.

Remarks

Sets the metadata markers to be used in the current thread.

All save operations performed in this thread will use these markers until SetMarkers is called again.

A copy of these markers will be used. Pass NULL for the Marker parameter to clear any markers previously set by SetMarkers.

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

Tags set with SetTag will overwrite any user-defined tags contained in the markers.

If the Save method is instructed to save a stamp, the stamp will be regenerated from the bitmap and will override whatever Exif stamp is present in the markers.

See Also

Elements:

CreateMarkers method, WriteMetadata method, TransformFile method, EnumMarkers method, InsertMarker method, GetMarker method, Count property, CopyMarkers method, DeleteMarker method, DeleteMarkerAt method, Element property, ElementCount property, OnEnumerateMarkers event, GetMarkers method, Save method, SaveBuffer method, SaveMemory method, SaveOffset method, TransformFile method, MarkerType property, WriteMetaData method

Topics

Raster Images: Markers