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.

Platforms

Win32, x64.

See Also

Functions:

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

Topics:

Raster Image Functions: Markers

 

Working with Markers

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 20.0.2020.4.5
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help