Skip to main content

FormattedString.Based on strings

Based on strings

Syntax

New FormattedString(<Content1,...,ContentN>)

Parameters

<Content1,...,ContentN> (optional)

Type: String, FormattedString, Picture, Array. Content of the string. If parameter has the Array type, then the array elements must be values of String, FormattedString or Picture type. Resulting string is a concatenation of array elements.

Description

The constructor has a variable number of parameters. Resulting string is a concatenation of the values of passed parameters.

Example

A = New Array();
A.Add("Article ");
A.Add(New FormattedString(
    Name,
    New Font(,,True)));
A.Add(" is out of stock.");
Str = New FormattedString(A);