SE_shape_create

Initializes a shape structure.

Usage syntax

LONG SE_shape_create (SE_COORDREF coordref, SE_SHAPE *shape);

Parameters
coordref A handle to an active coordinate reference object to use as the default coordinate reference for the new shape
shape A pointer to an unallocated shape object. If the result is SUCCESS, shape contains a handle to an active shape object.
Description

Creates a shape with no geometry. The coordinate reference parameter defines the coordinate reference system for the new shape object. You can pass a NULL pointer to indicate an unknown coordinate reference system with default values.

Returns

SE_SUCCESS
SE_INVALID_POINTER

SE_OUT_OF_CLMEM

SE_SDE_NOT_STARTED