![]() |
TXNGetLineCount |
||||
Header: | MacTextEditor.h | Carbon status: | Under Evaluation | |
Gets the total number of lines in a text object.
OSStatus TXNGetLineCount ( TXNObject iTXNObject, UInt32 *oLineTotal );
A variable of type TXNObject. Pass the text object that identifies the document whose line count you want to get.
On return, a pointer to the number of lines in the text object.
A result code. TXNGetLineCount can also return ParamErr.
Under evaluation for Carbon. Available in Carbon 1.1 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)