All Databases
Inside Mac - WWSO Mgr
VisibleLength
InitDateCache
String2Date
String2Time
Str2Format
Format2Str
FormatX2Str
FormatStr2X
ValidDate
LongDate2Secs
LongSecs2Date
ToggleDate
VisibleLength
Get the length of a specified text
#include <
Script.h
>
Script Manager
long
VisibleLength
(
textPtr, textLen
);
Ptr
textPtr
;
long
textLen
;
The
VisibleLength
function returns the length of text, excluding trailing
white space and accounting for the script of the text. For more information see,
Macintosh Worldwide Development: Guide to System Software.
Returns
: a
long
, indicating the length of the text
Referenced by (7):
Justifying Text on the Roman Script System
Manipulating Text
Script Mgr (Inside Mac - Index)
WorldWide Software Overview (Inside Mac - Index)
Accurate Line Measurement (Inside Mac - Basic Toolbox)
Justifying Text on the Roman Script System (Inside Mac - WWSO Mgr)
Manipulating Text (Inside Mac - WWSO Mgr)