Carbon


ATSUPasteFromHandle

Header: ATSUnicode.h Carbon status: Supported

Pastes styled Unicode text data from a handle into a style object.

OSStatus ATSUPasteFromHandle (
    ATSUStyle iStyle, 
    Handle iStyleHandle
);
function result

A result code.

DISCUSSION

The ATSUPasteFromHandle 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)