L_VecGetPalette

#include "ltvkrn.h"

L_LVKRN_API L_HPALETTE L_VecGetPalette(pVector)

Returns the palette associated with the specified vector handle.

Parameters

const pVECTORHANDLE pVector

Pointer to the vector handle.

Returns

Returns the handle to the logical palette

Comments

You can use this palette to allow proper drawing of vector image colors in a paletteized system.

Required DLLs and Libraries

See Also

Functions

Example

For an example, refer to L_VecSetPalette.

L_LTVKRNTEX_API L_INT VecGetPaletteExample( 
   pVECTORHANDLE pVector, 
   HPALETTE* phPalette) 
{ 
   *phPalette = L_VecGetPalette( pVector ); 
 
   return SUCCESS; 
} 

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Vector C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.