#include "ltwrappr.h"
L_INT LVectorObject::HideObject(bHide=TRUE)
Hides or shows an object. This function is available in the LEADTOOLS Vector Imaging Pro Toolkit.
Flag that indicates whether to hide or show the class object. Possible values are:
Value | Meaning |
---|---|
TRUE | Hide the class object. |
FALSE | Show the class object. |
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Hides or shows a class object.
Please note that you will have to update the window to see the results of this function.
Required DLLs and Libraries
This example will toggle the hide property of the given object.
L_INT LVectorObject__HideObjectExample(HWND hWnd, LVectorBase *pVector, LVectorObject *pObject )
{
UNREFERENCED_PARAMETER(hWnd);
UNREFERENCED_PARAMETER(pVector);
L_INT nRet;
L_BOOL bHidden;
nRet = pObject->IsObjectHidden( &bHidden );
if(nRet != SUCCESS)
return nRet;
nRet = pObject->HideObject( !bHidden );
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