LBuffer::operator=

Summary

Copies the specified item to the class objects buffer.

Syntax

#include "ltwrappr.h"

LBuffer& LBuffer::operator=(lpStr)

LBuffer& LBuffer::operator=(LBufferSrc)

Parameters

L_TCHAR * lpStr

The character string to copy.

LBuffer& LBufferSrc

The LBuffer object to copy.

Returns

The LBuffer object.

Comments

LBuffer::operator=(LBufferSrc) copies the source class object's buffer to the destination class object's buffer. This results in two copies of the buffer.

The parameter LBufferSrc is passed by reference, and is a required parameter.

LBuffer::operator=(lpStr) copies the specified string to the destination class object's buffer.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Example

This is an example for LBuffer::operator=(LBufferSrc):

L_INT LBuffer__operatorExample(LBitmapBase& LeadBitmap) 
{ 
   L_INT nRet; 
   LBuffer LeadBuffer; 
   LBuffer MyBuffer ; 
 
   nRet =(L_INT)LeadBitmap.GetRow(&LeadBuffer,6); 
   if(nRet < 1) 
      return nRet; 
 
   MyBuffer = LeadBuffer; 
 
   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 Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.