NAME
MdelAttribute - delete attribute from map
SYNOPSIS
#include "csf.h"
CSF_ATTR_ID MdelAttribute
(
MAP *m,
CSF_ATTR_ID id
);
PARAMETERS
-
MAP *m
-
map handle
-
CSF_ATTR_ID id
-
identification of attribute
Possible values for a
CSF_ATTR_ID
are as follows:
- ATTR_ID_LEGEND_V1 - Version 1 legend.
- ATTR_ID_HISTORY - History fields.
- ATTR_ID_COLOUR_PAL - Colour palette.
- ATTR_ID_GREY_PAL - Grey palette.
- ATTR_ID_DESCRIPTION - Description.
- ATTR_ID_LEGEND_V2 - Version 2 legend.
DESCRIPTION
MdelAttribute deletes an attribute
from a map, if the attribute is available.
RETURNS
the id argument if the attribute is succesfully deleted,
or 0 in case of error or if the attribute is not found.
Possible values for a
CSF_ATTR_ID
are as follows:
- ATTR_ID_LEGEND_V1 - Version 1 legend.
- ATTR_ID_HISTORY - History fields.
- ATTR_ID_COLOUR_PAL - Colour palette.
- ATTR_ID_GREY_PAL - Grey palette.
- ATTR_ID_DESCRIPTION - Description.
- ATTR_ID_LEGEND_V2 - Version 2 legend.
MERRNO
NOACCESS
WRITE_ERROR