NAME
MattributeAvail - check if an attribute is available
SYNOPSIS
#include "csf.h"
int MattributeAvail
(
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
MattributeAvail search for the given id in the map.
RETURNS
0 if the attribute is not available,
nonzero if the attribute is available
MERRNO
ILLHANDLE