L_VecGetPalette

#include "lvkrn.h"

L_LVKRN_API L_HPALETTE L_VecGetPalette(pVector)

const pVECTORHANDLE pVector;

pointer to a vector handle

Returns the palette associated with the specified vector handle.

Parameter

Description

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

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_VecSetPalette, L_VecPaint

Example

For an example, refer to L_VecSetPalette.

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

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