L_VecGetDisplayOptions

#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.

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:

L_VecSetDisplayOptions, L_VecInvertColors

Topics:

Getting Vector Object Information

 

Viewing a Vector Image

Example

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; 
} 

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Vector C API Help