Table of Contents

TDrawingRichString.Create Method

Overloads

TDrawingRichString.Create

Creates a new TDrawingRichString with a null value.

Syntax

Unit: FlexCel.Core

class function TDrawingRichString.Create: TDrawingRichString; static; overload;

See also

TDrawingRichString.Create(string)

Creates a new TDrawingRichString with no formatting and left alignment.

Syntax

Unit: FlexCel.Core

class function TDrawingRichString.Create(const s: string): TDrawingRichString; static; overload;

Parameters

<-> Parameter Type Description
const s string String with the data.

See also

TDrawingRichString.Create(TDrawingTextParagraphArray)

Creates a new TDrawingRichString from an array of paragraphs.

Syntax

Unit: FlexCel.Core

class function TDrawingRichString.Create(const aParagraphs: TArray<TDrawingTextParagraph>): TDrawingRichString; static; overload;

Parameters

<-> Parameter Type Description
const aParagraphs TArray<​TDrawing​Text​Paragraph> Array of RTF runs with the data and formatting for the string.

See also

TDrawingRichString.Create(string, TDrawingAlignment)

Creates a new TDrawingRichString with no formatting and the specified alignment.

Syntax

Unit: FlexCel.Core

class function TDrawingRichString.Create(const s: string; const hAlign: TDrawingAlignment): TDrawingRichString; static; overload;

Parameters

<-> Parameter Type Description
const s string String with the data.
const hAlign TDrawingAlignment Alignment for the text.

See also