![]() |
TXNGetDataEncoded |
||||
Header: | MacTextEditor.h | Carbon status: | Supported | |
Copies the text in the a specified range, and if necessary, translates the text to match the applications preferred encoding.
OSStatus TXNGetDataEncoded ( TXNObject iTXNObject, TXNOffset iStartOffset, TXNOffset iEndOffset, Handle *oDataHandle, TXNDataType encoding );
A variable of type TXNObject. Pass the text object that has the data you want to copy.
A variable of type TXNOffset. Pass the absolute offset from which data copying should begin. You can use the TXNGetSelection function to get the absolute offsets of the current selection.
A variable of type TXNOffset. Pass the absolute offset at which data copying should end. You can use the TXNGetSelection function to get the absolute offsets of the current selection.
A
A pointer to a handle. On return, the handle points to the requested data.
A result code.
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)