LVectorWindow::Reset

#include "ltwrappr.h"

L_INT LVectorWindow::Reset(uFlags = VECTOR_RESET_ALL)

Resets the vector to the default display settings.

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

LVectorWindow::Reset()
This examples resets the vector window to the default display settings.

L_INT LVectorWindow__ResetExample(LVectorWindow &VectorWindow) 
{ 
   L_INT nRet; 
 
   nRet = VectorWindow.Reset(); 
   if(nRet != SUCCESS) 
      return nRet; 
 
   return SUCCESS; 
} 

Help Version 21.0.2021.4.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Vector C++ Class Library Help