Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter NineDialog Functions (continued)

RichEditGetRTF Function

Overview

The RichEditGetRTF function retrieves the content of the control as Rich Text Format (RTF) data.

Syntax/Parameters

Syntax

string = RichEditGetRTF ( int id );

Parameters

id

An int containing the control ID of the Rich Edit Control.

Return Value

An 8-bit string containing the RTF code or empty on failure. Use the GetLastError function to retrieve a formatted error code.

Remarks

The returned data is in Rich Text Format encoded in ANSI by default. Note that ANSI encoding represents the RTF, not the content which may contain encoded Unicode characters.

There is a 2MB limit on the size of the data.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic