Carbon


ATSUDisposeTextLayout

Header: ATSUnicode.h Carbon status: Supported

Disposes of the memory associated with a text layout object.

OSStatus ATSUDisposeTextLayout (
    ATSUTextLayout iTextLayout
);
Parameter descriptions
iTextLayout

A reference to an initialized text layout object whose associated memory you want to dispose of. You cannot pass NULL for this parameter.

function result

A result code.

DISCUSSION

The ATSUDisposeTextLayout function frees the memory associated with the text layout object and its internal structures, including text layout attributes, style runs, and soft line breaks. ATSUDisposeTextLayout does not dispose of the memory pointed to by reference constants. You are responsible for doing so.

VERSION NOTES

Available beginning with ATSUI 1.0.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.5 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)