LMarker::DeleteIndex

#include "ltwrappr.h"

virtual L_INT LMarker::DeleteIndex(uIndex)

L_UINT uIndex;

/* index of the marker to delete */

Deletes the marker at the specified index from the marker collection.

Parameter

Description

uIndex

Value that represents the index of the marker to delete.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function allows you to delete a marker with a certain index, regardless of the marker type.

The marker with the specified index MUST exist. Error ERROR_MARKER_INDEX will be returned if you attempt to delete a marker that does not exist.

Required DLLs and Libraries

LTFIL

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

LMarker::Copy, LMarker::Create, LMarker::Delete, LMarker::Enum, LMarker::EnumMarkersCallBack, LMarker::Free, LMarker::GetCount, LMarker::GetGlobalMarkers, LMarker::GetHandle, LMarker::Insert, LMarker::Load, LMarker::SetAsGlobalMarkers, LMarker::SetHandle, LFile::WriteMetaData, Class Members

Topics:

Raster Image Functions: Markers

 

Working with Markers

Example

LMarker MarkerSrc;
MarkerSrc.Load(TEXT("e:\\1.jpg"),0);
MarkerSrc.DeleteIndex ( 0);