LBuffer::Fill

#include "ltwrappr.h"

L_INT LBuffer::Fill(cValue=0)

L_UCHAR cValue;

/* character to use to fill the buffer */

Fills the class object’s 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.

See Also

Functions:

Class Members

Example

L_VOID TestFunction(LBitmapBase& LeadBitmap)
{
   LBuffer LeadBuffer ;
   LBuffer LeadCopyBuffer ;

   LeadBitmap.GetRow(&LeadBuffer,5) ;

   LeadCopyBuffer.Copy(TEXT("ABCD String")) ;

   LeadBuffer.Fill() ;
   //...

   LeadBuffer.Free() ;

   //...

   LeadCopyBuffer.Free() ;
}