SE_layerinfo_get_shape_types

Retrieves the allowed shape types

Usage syntax

LONG SE_layerinfo_get_shape_types (const SE_LAYERINFO layer, LONG *shape_types);

Parameters
layer The layerinfo handle
shape_types A pointer to the shape type mask
Description

SE_layerinfo_get_shape_types retrieves the allowed shape types for a specific layer. The allowed shape types are contained in a bit-mask of the following values: 

SE_NIL_TYPE_MASK
SE_POINT_TYPE_MASK
SE_LINE_TYPE_MASK
SE_SIMPLE_LINE_TYPE_MASK
SE_AREA_TYPE_MASK
SE_MULTIPART_TYPE_MASK

Returns

SE_SUCCESS
SE_SDE_NOT_STARTED

SE_NET_FAILURE

SE_INVALID_LAYERINFO_OBJECT

SE_INVALID_POINTER