GM_Layer_tSetLayerPalette Method
Sets a custom palette for the layer to override the existing palette. Only works for palette-based layers.

Namespace:  GlobalMapper
Assembly: GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)

Syntax
C#
public GM_Error_t32 SetLayerPalette(
	GM_PaletteEntry_t[] aNewPalette,
	Object aReserved
)

Parameters

aNewPalette
Type: GlobalMapperGM_PaletteEntry_t
IN: pointer to list of palette entries to use for layer or NULL to reset palette to original palette
aReserved
Type: SystemObject
IN: reserved for future use, must be NULL

Return Value

Type: GM_Error_t32
A GM Error Code
See Also