NewShape
TheNewShapemethod creates a new empty shape object.
ODShape NewShape ();
- return value
- A reference to the newly created shape, or
kODNULLif an error occurred.DISCUSSION
This method initializes the reference count of the returned shape. When you have finished using that shape, you should call itsReleasemethod.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.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help