Skip to main content

XlRichTextRun(String, XlFont) Constructor

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

Namespace: DevExpress.Export.Xl

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

NuGet Package: DevExpress.Printing.Core

Declaration

public XlRichTextRun(
    string text,
    XlFont font
)

Parameters

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