This function retrieves the current display options for the specified vector handle.
#include "ltvkrn.h"
L_LVKRN_API L_INT L_VecGetDisplayOptions(pVector, pOptions)
Pointer to the vector handle.
Pointer to the VECTOR_DISPLAY_OPTIONS structure to be updated with the display options.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
L_LTVKRNTEX_API L_INT VecGetDisplayOptionsExample(
pVECTORHANDLE pVector,
L_INT nNewClipMode)
{
L_INT nRet;
VECTOR_DISPLAY_OPTIONS Options;
nRet = L_VecGetDisplayOptions ( pVector, &Options );
if( SUCCESS == nRet )
{
Options.nClipMode = nNewClipMode;
nRet = L_VecSetDisplayOptions ( pVector, &Options );
}
return nRet;
}