#include "lvkrn.h"
L_LVKRN_API L_INT L_VecGetDisplayOptions(pVector, pOptions)
pVECTORHANDLE pVector; |
pointer to the vector handle |
pVECTOR_DISPLAY_OPTIONS pOptions; |
pointer to the display options structure |
This function retrieves the current display options for the specified vector handle.
Parameter |
Description |
pVector |
Pointer to the vector handle. |
pOptions |
Pointer to the VECTOR_DISPLAY_OPTIONS structure to be updated with the display options. |
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. |
Functions: |
|
Topics: |
|
|
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;
}