Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
L_CopyMarkers
#include "l_bitmap.h"
L_LTFIL_API L_INT L_CopyMarkers(phMarkersDst, hMarkersSrc)
L_VOID** phMarkersDst; |
/* destination markers handle */ |
L_HANDLE hMarkersSrc; |
/* source markers handle */ |
Copies the specified collection of metadata markers to a new handle.
Parameter |
Description |
phMarkersDst |
Pointer to a variable to be updated with a handle to a copy of the specified markers. |
hMarkersSrc |
Handle to the collection of metadata markers to copy. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
The new handle will be copied to *phMarkersDst.
If hMarkersSrc is NULL or if the function fails, phMarkersDst will be NULL.
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. |
Platforms
Win32, x64.
See Also
Functions: |
L_LoadMarkers, L_CreateMarkers, L_FreeMarkers, L_InsertMarker, L_EnumMarkers, L_GetMarkerCount, L_GetMarker |
Topics: |
|
|
Example
L_INT CopyMarkersExample(HANDLE hMarkersSrc, HANDLE* phMarkersCopy) { L_INT nRet; // Copy markers collection into the desitation handle nRet = L_CopyMarkers(phMarkersCopy, hMarkersSrc); if(nRet != SUCCESS) return nRet; return SUCCESS; }