SE_layerinfo_set_shape_types

Sets the allowed shape types

Usage syntax

LONG SE_layerinfo_set_shape_types (SE_LAYERINFO layer, LONG shape_types);

Parameters
layer The layerinfo handle
shape_types The shape type mask
Description

SE_layerinfo_set_shape_types sets the allowed shape types for a specific layer. The allowed shape types are:

   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_ETYPE_MASK

SE_INVALID_LAYERINFO_OBJECT

SE_INVALID_POINTER