.NODE

TextFontRemove()

Category: Text Formatting

Syntax: TextFontRemove ( text {; fontName; fontScript} )


Parameters:

textAny text expression or text field.

fontNameAny font name expressed in text.

fontScriptThe name of a character set that contains characters required for writing in the specified language.

Parameters in curly braces { } are optional.

Note that the fontScript parameter is not enclosed in quotation marks (" ") and requires the specific keywords listed later.

Data type returned: Text

Description:

Removes all fonts applied to text, or removes only fonts and font scripts as specified by the two optional parameters, fontName and fontScript. Once fonts have been removed, the data is displayed and treated as text entered into any FileMaker field by adopting whatever font attributes have been applied to the layout objects in question.

Note that font names are case sensitive and need to be entered correctly in order for the function to work properly.

Note also that font formatting functions only work on data returned as text.

The following font scripts are available:

Roman

Greek

Cyrillic

Central

Europe

ShiftJIS

TraditionalChinese

SimplifiedChinese

OEM

Symbol

Other

Examples:

Function

Results

TextFontRemove ( "Nuke all fonts" )

Returns Nuke all fonts displayed in a layout objects default font.

TextFontRemove ( "Two fonts enter, one font leaves"; "Comic Sans MS" )

Returns Two fonts enter, one font leaves with the Comic Sans MS font removed (assuming the original text string made use of it).

TextFontRemove ( "Hows your Russian?"; "Arial"; Cyrillic )

Returns Hows your Russian? with the Arial font removed from any Cyrillic character sets.




: FileMaker Specifications

FileMaker 8 Product Line

Specifications and Storage Limits

Field Types and Import/Export Formats

: Calculation Functions

Working with Calculations Primer

Calculation Signatures

Calculation Functions

: Custom Functions

Custom Functions Primer

Useful Custom Functions

: Script Steps

Scripting Primer

Script Step Reference

: Quick Reference

FileMaker Error Codes

FileMaker Keyboard Shortcuts

FileMaker Network Ports

FileMaker Server Command Line Reference

FileMaker XML Reference

: Other Resources

Where to Go for More Information

show all menu





FileMaker 8 Functions and Scripts Desk Reference
FileMaker 8 Functions and Scripts Desk Reference
ISBN: 0789735113
EAN: 2147483647
Year: 2004
Pages: 352
Similar book on Amazon

Flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net