Available in LEADTOOLS Vector Imaging toolkits. |
#include "ltwrappr.h"
L_INT LVectorObject::IsObjectHidden(pbHidden)
L_BOOL *pbHidden; |
/* pointer to a variable */ |
Returns a value that indicates whether the class object is hidden.
Parameter |
Description |
|
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. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
This function is not supported in the DirectX engine.
Required DLLs and Libraries
LVKRN For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
See Also
Functions: |
|
Topics |
|
|
Example
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; }