LSegment::MrcCopySegmentationHandle

Summary

Copies one segmentation handle to another.

Syntax

#include "ltsgm.h"

L_INT LSegment::MrcCopySegmentationHandle( SegSrc)

Parameters

LSegment& SegSrc

Reference to class that contains the source segmentation handle.

Returns

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

Comments

This function copies the segmentation handle and the segmentation data. Call the LSegment::MrcStopBitmapSegmentation function to free the new segmentation handle.

Call the LSegment::MrcStartBitmapSegmentation function before using any of the segmentation functions. When the class object of the segmentation is no longer needed, it should be freed by calling the LSegment::MrcStopBitmapSegmentation function.

Required DLLs and Libraries

See Also

Elements

Topics

Example

L_INT LSegment__MrcCopySegmentationHandleExample(LSegment& SegDst, LSegment& SegSrc) 
{ 
   L_INT nRet; 
 
   nRet = SegDst.MrcCopySegmentationHandle(SegSrc); 
   if(nRet != SUCCESS) 
      return nRet; 
 
   return SUCCESS; 
} 
Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS MRC C++ Class Library Help

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