Carbon


TXNPaste

Header: MacTextEditor.h Carbon status: Supported

Pastes the contents of the private MLTE scrap into the text object.

OSStatus TXNPaste (
    TXNObject iTXNObject
);
Parameter descriptions
iTXNObject

A variable of type TXNObject. Pass the text object that identifies the current document.

function result

A result code. TXNPaste can also return memory or parameter errors.

DISCUSSION

Before you call TXNPaste , you can call the TXNIsScrapPastable function to test to see if the current scrap contains data supported by MLTE.

AVAILABILITY

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


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)