AppendRtfText(String,Color,Font,HorizontalAlignment) Method
In This Topic
Appends the specified text to the Rtf string using the specified color, font and alignment. Transparent colors cannot be used for an Rtf rendering.
Syntax
'Declaration
Public Overloads Sub AppendRtfText( _
ByVal As System.String, _
ByVal As System.Drawing.Color, _
ByVal As System.Drawing.Font, _
ByVal As System.Windows.Forms.HorizontalAlignment _
)
public void AppendRtfText(
System.string ,
System.Drawing.Color ,
System.Drawing.Font ,
System.Windows.Forms.HorizontalAlignment
)
Parameters
- Text
- Text string to be appended to existing Rtf.
- Color
- ForeColor of the appended text.
- Font
- Font of the appended text.
- Align
- Alignment of the appended text.
See Also