[]
Create RTF string with character formatting.
public RtfString(string text, Font font = null, RtfUnderlineStyle underline = RtfUnderlineStyle.None)
Public Sub New(text As String, Optional font As Font = Nothing, Optional underline As RtfUnderlineStyle = RtfUnderlineStyle.None)
| Type | Name | Description |
|---|---|---|
| string | text | The text string. |
| Font | font | Used drawing font for this string. |
| RtfUnderlineStyle | underline | Used underline for this string if font underline. |
Create RTF string with character formatting.
public RtfString(RtfObject owner, string text, Font font = null, RtfUnderlineStyle underline = RtfUnderlineStyle.None)
Public Sub New(owner As RtfObject, text As String, Optional font As Font = Nothing, Optional underline As RtfUnderlineStyle = RtfUnderlineStyle.None)
| Type | Name | Description |
|---|---|---|
| RtfObject | owner | The owner RtfObject object. |
| string | text | The text string. |
| Font | font | Used drawing font for this string. |
| RtfUnderlineStyle | underline | Used underline for this string if font underline. |