CwDuplicateObject

Syntax:

hNewObj = CwDuplicateObject(hObject)

        hNewObj         (handle) The handle to a new object, a duplicate of
                        the object referenced by "hObject".

        hObject         (handle) The handle of an object.

Description:

This procedure makes an exact copy of the provided object (hObject) and returns a handle to it.

Example:

/* Create, then duplicate an object. */
o = CwCreateEffect("rectangle", "solid color")
n = CwDuplicateObject(o)

Remarks:

The new object is always on top.

Functions by NAME

Index

Functions by PURPOSE