- Inside Macintosh: OpenDoc Class Reference /
- Part 1 - Classes and Methods / ODShape
NewShape
The NewShape method creates a new empty shape object.
ODShape NewShape ();
- return value
- A reference to the newly created shape, or
kODNULL if an error occurred.
DISCUSSION
This method initializes the reference count of the returned shape. When you have finished using that shape, you should call its Release method.
EXCEPTIONS
kODErrOutOfMemory
- There is not enough memory to create a new shape.
SEE ALSO
Table 11-1 on page 466 in OpenDoc Programmer's Guide.
© Apple Computer, Inc.
17 JUL 1996