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

LBuffer::Fill

Show in webframe

#include "ltwrappr.h"

L_INT LBuffer::Fill(cValue=0)

L_UCHAR cValue;

/* character to use to fill the buffer */

Fills the class objects buffer with the specified value.

Parameter

Description

cValue

Character to use to fill the buffer.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Required DLLs and Libraries

LTDIS

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:

Class Members

Example

L_INT LBuffer__FillExample(LBitmapBase& LeadBitmap)
{
   L_INT nRet;
   LBuffer LeadBuffer ;
   LBuffer LeadCopyBuffer ;
   nRet =(L_INT)LeadBitmap.GetRow(&LeadBuffer,5) ;
   if(nRet < 1)
      return nRet;
   nRet =LeadCopyBuffer.Copy(TEXT("ABCD String")) ;
   if(nRet !=SUCCESS)
      return nRet;
   nRet =LeadBuffer.Fill() ;
   if(nRet !=SUCCESS)
      return nRet;
   //...
   nRet =LeadBuffer.Free() ;
   if(nRet !=SUCCESS)
      return nRet;
   //...
   nRet =LeadCopyBuffer.Free() ;
   if(nRet !=SUCCESS)
      return nRet;
   return SUCCESS;
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.