SE_stable_delete_shape

Removes a shape from a shape (s) table

Usage syntax

LONG SE_stable_delete_shape (SE_STABLE stable, LONG user_id);

Parameters
stable The handle of the stable from which to delete the shape
user_id The user-defined ID of the shape to delete
Description

SE_stable_delete_shape removes a shape from an s table. You can specify the shape by its feature id or by the current search with SE_DELETE_CURRENT. When a search is in progress, and SE_DELETE_CURRENT is passed as the feature id, the current search shape is deleted. More than one shape with the same feature id may exist in the s table; only the first shape found is deleted.

This function executes on the client only.

An SE_ROW_NOEXIST error is returned if the supplied feature id is less than 0, or the specified feature id is not found in the s table.

An SE_INVALID_POINTER error is returned if the s table handle is null or does not reference a valid stable.

An SE_OUT_OF_CONTEXT error is returned if the feature id is set to SE_DELETE_CURRENT, and no current search is associated with the specified s table.

Returns

SE_SUCCESS
SE_ROW_NOEXIST

SE_INVALID_POINTER

SE_OUT_OF_CONTEXT