LVectorBase::Reset

Summary

Resets the vector to the default display settings.

Syntax

#include "ltwrappr.h"

virtual L_INT LVectorBase::Reset(uFlags = VECTOR_RESET_ALL)

Parameters

L_UINT uFlags

Flag that indicates which values to reset. Possible values are:

Value Meaning
VECTOR_RESET_ROTATE Reset the rotation values to the default settings.
VECTOR_RESET_SCALE Reset the scale values to the default settings.
VECTOR_RESET_TRANSLATE Reset the translation values to the default settings.
VECTOR_RESET_CAMERA Reset the camera values to the default settings.
VECTOR_RESET_PARALLELOGRAM Reset the parallelogram values to the default settings.
VECTOR_RESET_ORIGIN Reset the origin values to the default settings.
VECTOR_RESET_PAN Reset the pan values to the default settings.
VECTOR_RESET_ALL Reset all the values to the default settings. This is the equivalent of combining all the above flags using the OR operator.

Returns

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

Required DLLs and Libraries

See Also

Functions

Topics

Example

LVectorBase::Reset()
This examples resets a vector to the default display settings.

L_INT LVectorBase__ResetExample(LVectorBase &Vector) 
{ 
   L_INT nRet; 
 
   nRet = Vector.Reset(); 
   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.