Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Raster imaging C++ Class library help

LMarker::Copy

Show in webframe

#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;
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.