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

Show in webframe

#include "ltwrappr.h"

virtual L_INT LVectorObject::HideObject(bHide=TRUE)

L_BOOL bHide;

/* flag that indicates whether to hide or show an object */

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

Parameter

Description

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

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Hides or shows a class object.

This function is not supported in the DirectX engine.

Please note that you will have to update the window to see the results of this function.

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::IsObjectHidden, Class Members

Topics:

Working with Vector Objects

 

Vector Images: Modifying Vector Object Characteristics

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