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
)
Public Sub WriteText (
font As Font,
foreColor As Color,
strText As String
)
public:
void WriteText(
Font^ font,
Color foreColor,
String^ strText
)
member WriteText :
font : Font *
foreColor : Color *
strText : string -> unit
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