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
void CVectorView::OnPreferencesChangeClipmode()
{
CVectorDoc *pDoc;
VECTOR_DISPLAY_OPTIONS Options;
pDoc = GetDocument( );
pDoc->m_pVectorWindow->GetDisplayOptions( &Options );
Options.nClipMode = m_nNewClipMode;
pDoc->m_pVectorWindow->SetDisplayOptions( &Options );
}