bgiSaveRichTextFile

Category: BGI GUI

Syntax:

bgiSaveRichTextFile:Int(richTextBoxID:Int, filepath:String)


Parameters

Returns

Int



Summary

Saves rich text box content to RTF file with all formatting preserved.

Takes richTextBoxID (Int) and filepath (String).

Returns 0 if file creation fails.

View detailed documentation online



Example

;No example implemented yet



On the Web

Writes RTF into the web file store (the browser's local storage), not to disk. To give the user a copy, call bgiExportFileWeb after saving. See BGI on the web.


BambooBasic © 2026 Michael Denathorn