LVectorBase::GetDisplayOptions
#include "ltwrappr.h"
virtual L_INT LVectorBase::GetDisplayOptions(pOptions)
pVECTOR_DISPLAY_OPTIONS pOptions; |
/* pointer to the display options structure */ |
This function retrieves the current display options.
Parameter |
Description |
pOptions |
Pointer to the VECTOR_DISPLAY_OPTIONS structure to be updated with the display options. |
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
L_INT LVectorBase__GetDisplayOptionsExample(LVectorWindow *pVectorWindow, L_INT nNewClipMode) { L_INT nRet; VECTOR_DISPLAY_OPTIONS Options; pVectorWindow->GetDisplayOptions( &Options ); Options.nClipMode = nNewClipMode; nRet = pVectorWindow->SetDisplayOptions( &Options ); if(nRet != SUCCESS) return nRet; return SUCCESS; }