Fills the class objects buffer with the specified value.
#include "ltwrappr.h"
L_INT LBuffer::Fill(cValue=0)
Character to use to fill the buffer.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Win32, x64.
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;
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document