Constructs and initializes the member variables of the class object.
#include "ltwrappr.h"
LVectorBase::LVectorBase(void)
LVectorBase::LVectorBase(pVector)
Pointer to a vector handle.
None.
These are the constructors for the LVectorBase class. They construct and initialize the member variables of the class object.
LVectorBase::LVectorBase(void) will initialize the bitmap width, height, and bits per pixel to 0.
LVectorBase::LVectorBase(pVector) constructs an LVectorBase object and allocates a vector from another LEAD vector handle.
//This is the example for LVectorBase::LVectorBase():
L_INT LVectorBase__LVectorBaseExample_1()
{
LVectorBase myVectorBase;
//destructor called when out of scope
return SUCCESS;
}
// This is the example for LVectorBase::LVectorBase(pVectorHandle):
L_INT LVectorBase__LVectorBaseExample()
{
L_INT nRet;
L_TCHAR szFileName[_MAX_PATH];
L_UINT uLen;
VECTORHANDLE hVector;
L_WRPVECLOADFILE(MAKE_IMAGE_PATH(TEXT("random.dxf")), &hVector,NULL, NULL);
LVectorBase myVectorBase(&hVector);
nRet = myVectorBase.GetFileName(szFileName, &uLen);
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