Constructs and initializes the member variables of the class object.
#include "ltwrappr.h"
LVectorDialog::LVectorDialog(void)
LVectorDialog::LVectorDialog(pLVector)
Pointer to an LVectorBase object that references the vector.
None.
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.
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 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