Gets the current vertices bind mode for a vector handle.
#include "ltwrappr.h"
virtual L_INT LVectorBase::GetBindVerticesMode(L_VOID)
An L_INT value that represents the Vertices bind mode for the specified vector handle. Possible values are:
Value | Meaning |
---|---|
VECTOR_BIND_VERTICES | Vertices are bound. If changes occur to an object, all other objects sharing vertices with that object will be changed too. |
VECTOR_UNBIND_VERTICES | Vertices are not bound. If changes occur to an object, Other objects sharing vertices with that object will not be effected. |
Default mode is VECTOR_BIND_VERTICES.
L_INT LVectorBase__GetBindVerticesModeExample(HWND hWnd)
{
UNREFERENCED_PARAMETER(hWnd);
L_INT nRet;
LVectorBase Vector;
nRet = Vector.Load(MAKE_IMAGE_PATH(TEXT("random.dxf")));
if(nRet != SUCCESS)
return nRet;
if( Vector.GetBindVerticesMode() == VECTOR_BIND_VERTICES )
{
nRet = Vector.SetBindVerticesMode(VECTOR_UNBIND_VERTICES );
if(nRet != SUCCESS)
return nRet;
}
else
{
nRet = Vector.SetBindVerticesMode(VECTOR_BIND_VERTICES );
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