| 
   Available in LEADTOOLS Vector Imaging toolkits.  | 
#include "ltwrappr.h"
virtual L_INT LVectorBase::Reset(uFlags = VECTOR_RESET_ALL)
| 
 L_UINT uFlags;  | 
 /* reset flag */  | 
Resets the vector to the default display settings.
| 
 Parameter  | 
 Description  | 
|
| 
 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
| 
 SUCCESS  | 
 The function was successful.  | 
| 
 < 1  | 
 An error occurred. Refer to Return Codes.  | 
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:  | 
|
| 
 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;
}