Справочник Пользователя для Filemaker Pro 8.5 Educational Maintenance T3 TJ083LL/A

Модели
TJ083LL/A
Скачать
Страница из 238
198     FileMaker Functions Reference
Description
Removes all font sizes in text, or removes the font size specified by sizeToRemove. If 
you don’t specify a size, all of the text displays in the default font size that was set in 
Layout mode for the field. When the font size is specified by sizeToRemove, only the 
specified font size is removed from every portion of the text displayed in that size and 
these same portions of the text are then displayed in the field's default font size.
The font size is described in points (72 points to the inch). Text formatting options will be 
lost if the data type that is returned is something other than text.
Examples
TextSizeRemove(“10 Point Text and 18 Point Text”) returns 
10 Point Text 
and 18 Point Text 
displayed in the field’s default font size.
TextSizeRemove(“10 Point Text and 18 Point Text”;18) returns 
10 Point 
Text and 18 Point Text
 with the 18 point font size removed from the words 
18 Point Text
.
TextStyleAdd
Format
TextStyleAdd(text;styles)
Parameters
text - any 
styles - any named style listed below in Description
Data type returned
text
Description
Adds the specified styles to text in a single action. You can add multiple styles by 
using the + operator between style names. Negative values are not valid. All styles will be 
removed, if the only style specified is Plain. Plain is ignored if mixed with other styles. 
Styles are not case-sensitive and do not contain spaces. 
Text formatting options will be lost if the data type that is returned is something other than 
text.
The styles that are available are:
Plain
Bold
Italic
Underline
Condense