Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
LMarker::Copy
#include "ltwrappr.h"
virtual L_INT LMarker::Copy(hMarkerSrc)
virtual L_INT LMarker::Copy(pMarkerSrc)
HANDLE hMarkerSrc; |
/* handle to the marker object */ |
LMarker *pMarkerSrc; |
/* pointer to an LMarker object */ |
Copies the specified collection of metadata markers to this marker object.
Parameter |
Description |
hMarkerSrc |
Handle to the collection of metadata markers to copy.. |
pMarkerSrc |
Pointer to the LMarker object that contains the collection of metadata markers to be copied. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
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.
See Also
Example
// This is an example for LMarker::Copy(hMarker): L_INT LMarker__CopyExample_1(LMarker *SrcMarkers) { L_INT nRet; HANDLE hMarkerObj; LMarker MyMarker; hMarkerObj = SrcMarkers->GetHandle() ; nRet = MyMarker.Copy(hMarkerObj) ; if(nRet != SUCCESS) return nRet; //... return SUCCESS; } // This is an example for LMarker::Copy(LMarker): L_INT LMarker__CopyExample_2(LMarker *SrcMarkers) { L_INT nRet; LMarker MyMarker; nRet = MyMarker.Copy(SrcMarkers) ; if(nRet != SUCCESS) return nRet; //... return SUCCESS; }