LVectorDialog::LVectorDialog

#include "ltwrappr.h"

LVectorDialog::LVectorDialog(void)

LVectorDialog::LVectorDialog(pLVector)

Constructs and initializes the member variables of the class object.

Parameters

LVectorBase *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

See Also

Functions

Example

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

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 21.0.2021.4.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Vector C++ Class Library Help