Retrieves the internal LEAD vector handle for this LVectorBase class object.
#include "ltwrappr.h"
pVECTORHANDLE LVectorBase::GetHandle(void)
A pointer to a vector handle.
Use this function to retrieve the internal LEAD vector handle for this LVectorBase class object. You can use this with any of the low level LEAD C API functions that require a pVECTORHANDLE.
L_INT LVectorBase__GetHandleExample(HWND hWnd)
{
UNREFERENCED_PARAMETER(hWnd);
L_INT nRet;
LVectorBase VectorBase1, VectorBase2;
VectorBase1.SetFileName(MAKE_IMAGE_PATH(TEXT("random.dxf")));
nRet = VectorBase1.Load();
if(nRet != SUCCESS)
return nRet;
//This will make VectorBase2 use the vector in VectorBase1
nRet = VectorBase2.SetHandle(VectorBase1.GetHandle());
if(nRet != SUCCESS)
return nRet;
return SUCCESS;
}
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