LMarker::Copy

#include "ltwrappr.h"

virtual L_INT LMarker::Copy(hMarkerSrc)

virtual L_INT LMarker::Copy(pMarkerSrc)

Copies the specified collection of metadata markers to this marker object.

Parameters

HANDLE hMarkerSrc

Handle to the collection of metadata markers to copy.

LMarker *pMarkerSrc

Pointer to the LMarker object that contains the collection of metadata markers to be copied.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

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; 
} 
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.