LVectorDialog::LVectorDialog

#include "ltwrappr.h"

LVectorDialog::LVectorDialog(void)

LVectorDialog::LVectorDialog(pLVector)

LVectorBase *pLVector;

pointer to an LVectorBase object

Constructs and initializes the member variables of the class object.

Parameter

Description

pLVector

Pointer to an LVectorBase object that references the vector.

Returns

None

Comments

These are the constructors for the LVectorDialog class. They construct and initialize the member variables of the class object.

LVectorDialog::LVectorDialog(void) is the default constructor.

LVectorDialog::LVectorDialog(pLVector) constructs an LVectorDialog object and allocates a vector from another LEAD vector handle.

Required DLLs and Libraries

LVKRN
LVDLG
LTFIL

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:

LVectorDialog::~LVectorDialog, Class Members

Example

For an example of LVectorDialog::LVectorDialog(void), refer to LVectorDialog::IsValid. This is an example for LVectorDialog::LVectorDialog(pLVector):

#define MAKE_IMAGE_PATH(pFileName) TEXT("C:\\Users\\Public\\Documents\\LEADTOOLS Images\\")pFileName 
L_INT LVectorDialog__LVectorDialogExample(HWND hWnd) 
{ 
   L_INT       nRet; 
   VECTORPOINT rotatePoint = {90,0,0,0}; 
   VECTORPOINT originPoint = {0,0,0,0}; 
   LVectorBase Vector; 
   nRet = Vector.Load(MAKE_IMAGE_PATH(TEXT("random.dxf"))); 
   if(nRet != SUCCESS) 
      return nRet; 
   LVectorDialog VectorDlg(&Vector); 
   VectorDlg.EnableAutoProcess(); 
   nRet = VectorDlg.DoModalVectorRotate(hWnd, &rotatePoint, &originPoint); 
   //Get a pointer to the vector (refers to Vector) 
   LVectorBase *pVector = VectorDlg.GetVector(); 
   UNREFERENCED_PARAMETER(pVector); 
   //Do something with pointer ... 
   //destructor called when out of scope 
   return nRet; 
} 

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Vector C++ Class Library Help