SE_shape_get_area |
Returns the area of a shape or a shape part
LONG SE_shape_get_area (const SE_SHAPE shape, LONG part_num, LFLOAT *area);
shape | A handle to an active shape object |
part_num | The number of the part to return the area for |
area | A pointer to an LFLOAT, returned as the area of the shape part or shape |
Returns the area of the supplied shape. If part_num is 0, the area of the entire shape is returned. If part_num is nonzero, the area of the specified part is returned.
SE_SUCCESS
SE_INVALID_PARTNUM
SE_INVALID_POINTER
SE_INVALID_SHAPE_OBJECT
∙ Ignores any CAD data