LVectorObject::IsObjectHidden

#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.

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:

LVectorObject::HideObject, Class Members

Topics

Vector Images: Obtaining Object Information

 

Working with Vector Objects

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; 
} 

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Vector C++ Class Library Help