Click or drag to resize

RtfTextWriter WriteText Method (Font, Color, String)

Writes text with specified font, foreground color, and string text.

Namespace: Spire.Xls.Core.Spreadsheet
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public void WriteText(
	Font font,
	Color foreColor,
	string strText
)

Parameters

font
Type: System.Drawing Font
The font information for the text.
foreColor
Type: System.Drawing Color
The foreground color of the text.
strText
Type: System String
The string text to write.
See Also