Attaches a new LEAD vector handle to the LVectorBase class object.
#include "ltwrappr.h"
L_INT LVectorBase::SetHandle(pVectorHandle, bFreePrev=TRUE)
Pointer to a LEAD vector handle that describes the vector to be attached to this object. This pointer will be invalidated if the function is successful, you can pass NULL if you only want to detach the current vector handle from the object.
Flag that indicates whether to free the previous vector handle before attaching the new one. Possible values are:
Value | Meaning |
---|---|
TRUE | Free the previous vector handle before attaching the new one. |
FALSE | Do not free the previous vector handle before attaching the new one. |
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Use this function to attach a new LEAD vector handle to this LVectorBase class object. This function will call the LVectorBase::StartChanging and LVectorBase::EndChanging member functions before and after setting the vector handle.
For an example, refer to LVectorBase::GetHandle.
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