#include "ltwrappr.h"
LVectorBase::LVectorBase(void)
LVectorBase::LVectorBase(pVector)
pVECTORHANDLE pVector; |
pointer to a LEAD bitmap handle |
Constructs and initializes the member variables of the class object.
Parameter |
Description |
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.
Required DLLs and Libraries
LVKRN For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Elements: |
#define MAKE_IMAGE_PATH(pFileName) TEXT("C:\\Users\\Public\\Documents\\LEADTOOLS Images\\")pFileName//This is the example for LVectorBase::LVectorBase():L_INT LVectorBase__LVectorBaseExample_1(){LVectorBase myVectorBase;//destructor called when out of scopereturn 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;}
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
