LVectorObject::HideObject

Summary

Hides or shows an object. This function is available in the LEADTOOLS Vector Imaging Pro Toolkit.

Syntax

#include "ltwrappr.h"

L_INT LVectorObject::HideObject(bHide=TRUE)

Parameters

L_BOOL bHide

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.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

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

See Also

Functions

Topics

Example

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 Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Vector C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.