Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS Vector C++ Class Library Help

LVectorObject::IsObjectHidden

Show in webframe

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

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;
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.