#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. |
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
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. |
Win32, x64.
L_INT LMarker__DeleteIndexExample()
{
L_INT nRet;
LMarker MarkerSrc;
nRet = MarkerSrc.Load(MAKE_IMAGE_PATH(TEXT("ImageProcessingDemo\\Image1.jpg")),0);
if(nRet != SUCCESS)
return nRet;
nRet = MarkerSrc.DeleteIndex ( 0);
if(nRet != SUCCESS)
return nRet;
return SUCCESS;
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document