XlRichTextRun(String, XlFont) Constructor

Initializes a new instance of the XlRichTextRun class with the specified settings.

Namespace: DevExpress.Export.Xl

Assembly: DevExpress.Printing.v21.1.Core.dll


public XlRichTextRun(
    string text,
    XlFont font


Name Type Description
text String

A String value that specifies the text of this cell region. This value is assigned to the XlRichTextRun.Text property.

font XlFont

An XlFont object that specifies font attributes to be applied to the text. If null, the default font is used.

This value is assigned to the XlRichTextRun.Font property.

See Also