LVectorBase::LVectorBase

#include "ltwrappr.h"

L_VOID LVectorBase::LVectorBase(void)

L_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.

Returns

None

Comments

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.

See Also

Elements:

LVectorBase::~LVectorBase, Class Members

Example

This is the example for LVectorBase::LVectorBase():

L_VOID Example1()
{
   LVectorBase myVectorBase;
   //destructor called when out of scope
}

This is the example for LVectorBase::LVectorBase(pVectorHandle):

L_VOID Example2()
{
   L_TCHAR szFileName[_MAX_PATH];
   L_UINT uLen;

   VECTORHANDLE hVector;
   L_VECLOADFILE(TEXT("s:\\temp\\images\\dxf\\test.dxf"), &hVector,NULL, NULL);
   LVectorBase myVectorBase(&hVector);
   myVectorBase.GetFileName(szFileName, &uLen);
}