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.

See Also

Functions:

LMarker::Create, LMarker::Delete, LMarker::DeleteIndex, LMarker::Enum, LMarker::EnumMarkersCallBack, LMarker::Free, LMarker::GetCount, LMarker::GetGlobalMarkers, LMarker::GetHandle, 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 MyCopy(LMarker *SrcMarkers)
{
   HANDLE hMarkerObj;
   L_INT nRet;

   LMarker MyMarker;

   hMarkerObj = SrcMarkers->GetHandle() ;
   MyMarker.Copy(hMarkerObj) ;

   //...
}

 

This is an example for LMarker::Copy(LMarker):

L_INT MyCopy(LMarker *SrcMarkers)
{
   LMarker MyMarker;

   MyMarker.Copy(SrcMarkers) ;

  //...
}