Carbon


ATSUCopyToHandle

Header: ATSUnicode.h Carbon status: Supported

Copies styled Unicode text data from a style object to a handle.

OSStatus ATSUCopyToHandle (
    ATSUStyle iStyle, 
    Handle oStyleHandle
);
function result

A result code.

DISCUSSION

The ATSUCopyToHandle function does not produce the correct data format for displaying ATSUI style data. You should instead use the clipboard data block format of type ustl when you want to provide clipboard support or copy and paste styled text between applications or within an application.

VERSION NOTES

Available beginning with ATSUI 1.0. Not recommended for use. Instead, use the clipboard data block format of type ustl.

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)