Click or drag to resize

GM_SetLayerUserText

Sets a text string to associate with the layer. This value can be retrieved by calling GM_GetLayerInfo. This text string will persist through a save to a workspace with GM_SaveWorkspace so if you reload that workspace the same text string will be available. This is useful if you want to tie some text to the layer that persists through a save.

Syntax
GM_DLL_EXPORTED GM_Error_t32 __stdcall GM_SetLayerUserText
(
GM_LayerHandle_t32  aLayer,         // layer to set user text for
const char*         aUserText       // user text to associate with layer
)