Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5    Statistic  

RichText.SetFormattedText

Sets new text for saving a document.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
RichText 3.5 Yes No Yes, macOS only No Yes
MBS( "RichText.SetFormattedText"; text )   More

Parameters

Parameter Description Example value
text The new text to use. Can have style information. "Hello World"

Result

Returns OK or error.

Description

Sets new text for saving a document.

Examples

From Styled text to RTF:

// Custom function with pFormattedText as parameter
Let ( [

r = MBS( "RichText.Clear" );
vOK = MBS( "RichText.SetFormattedText"; pFormattedText ) ;
vResult = MBS("RichText.RTF") ;
vOK = MBS( "RichText.Release" )

];

vResult

)

See also

Example Databases

Created 18th August 2014, last changed 27th September 2016


RichText.SetAttribute   -   RichText.SetText

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins