LAnnotation::Copy

#include "ltwrappr.h"

virtual L_INT LAnnotation::Copy(hAnnSource)

virtual L_INT LAnnotation::Copy(LAnnSource)

Makes a copy of the specified annotation object.

Parameters

HANNOBJECT hAnnSource

Handle to the associated annotation object to be copied.

LAnnotation& LAnnSource

The annotation object to be copied.

Returns

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

Comments

LAnnotation::Copy(hAnnSource) will update the class object with the handle of the annotation object created by the copy.

LAnnotation::Copy(LAnnSource) will update the class object with the passed object.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

This is an example for LAnnotation::Copy(hAnnSource):

L_INT LAnnotation_CopyFirstExample(LAnnotation& LeadAnnotation) 
{ 
 
   HANNOBJECT  hAnnObj ; 
   LAnnotation MyAnn ; 
 
   hAnnObj = LeadAnnotation.GetHandle() ; 
   MyAnn.Copy(hAnnObj) ; 
   // 
	return SUCCESS; 
} 
//This is an example for LAnnotation::Copy(LAnnSource): 
L_INT LAnnotation_CopySecondExample(LAnnotation& LeadAnnotation) 
{ 
   LAnnotation MyAnn ; 
 
   MyAnn.Copy(LeadAnnotation) ; 
      //... 
	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.