Returns a value that indicates whether the class object is hidden.
#include "ltwrappr.h"
L_INT LVectorObject::IsObjectHidden(pbHidden)
Pointer to a variable to be updated with a value that indicates whether or not the class object is hidden. Possible values are:
Value | Meaning |
---|---|
TRUE | The class object is hidden. |
FALSE | The class object is not hidden. |
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
This example will check if the given vector object is hidden or not.
L_INT LVectorObject__IsObjectHiddenExample(HWND hWnd, LVectorBase *pVector, LVectorObject *pObject )
{
UNREFERENCED_PARAMETER(pVector);
UNREFERENCED_PARAMETER(hWnd);
L_INT nRet;
L_BOOL bHidden;
nRet = pObject->IsObjectHidden( &bHidden );
if(nRet != SUCCESS)
return nRet;
if(bHidden)
MessageBox( NULL, TEXT("Object is hidden"), TEXT("Test"), MB_OK );
else
MessageBox( NULL, TEXT("Object is not hidden"), TEXT("Test"), MB_OK );
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