[]
Initializes a new instance of the ParagraphText class.
public ParagraphText()
Public Sub New()
Initializes a new instance of the ParagraphText class, assigning the Text property, and specifying the Style.
public ParagraphText(string text, Style style)
Public Sub New(text As String, style As Style)
| Type | Name | Description |
|---|---|---|
| string | text | A string assigned to the Text property of the current object. |
| Style | style | A Style to use (the AssignNonInheritedFrom(Style) method is used to copy the specified style to the current object's Style). |
Initializes a new instance of the ParagraphText class, assigning the Text property, and specifying the Style.
public ParagraphText(string text)
Public Sub New(text As String)
| Type | Name | Description |
|---|---|---|
| string | text | A string assigned to the Text property of the current object. |
Initializes a new instance of the ParagraphText class, assigning the Text property, and specifying the font.
public ParagraphText(string text, Font font)
Public Sub New(text As String, font As Font)
| Type | Name | Description |
|---|---|---|
| string | text | A string assigned to the Text property of the current object. |
| Font | font | The font to use. |
Initializes a new instance of the ParagraphText class, assigning the Text property, and specifying the text color.
public ParagraphText(string text, Color textColor)
Public Sub New(text As String, textColor As Color)
| Type | Name | Description |
|---|---|---|
| string | text | A string assigned to the Text property of the current object. |
| Color | textColor | The text color to use. |
Initializes a new instance of the ParagraphText class, assigning the Text property, and specifying the text position.
public ParagraphText(string text, TextPositionEnum textPosition)
Public Sub New(text As String, textPosition As TextPositionEnum)
| Type | Name | Description |
|---|---|---|
| string | text | A string assigned to the Text property of the current object. |
| TextPositionEnum | textPosition | The text position to use. |
Initializes a new instance of the ParagraphText class, assigning the Text property, and specifying the font and text color.
public ParagraphText(string text, Font font, Color textColor)
Public Sub New(text As String, font As Font, textColor As Color)
| Type | Name | Description |
|---|---|---|
| string | text | A string assigned to the Text property of the current object. |
| Font | font | The font to use. |
| Color | textColor | The text color to use. |
Initializes a new instance of the ParagraphText class, assigning the Text property, and specifying the font and text position.
public ParagraphText(string text, Font font, TextPositionEnum textPosition)
Public Sub New(text As String, font As Font, textPosition As TextPositionEnum)
| Type | Name | Description |
|---|---|---|
| string | text | A string assigned to the Text property of the current object. |
| Font | font | The font to use. |
| TextPositionEnum | textPosition | The text position to use. |
Initializes a new instance of the ParagraphText class, assigning the Text property, and specifying the text color and position.
public ParagraphText(string text, Color textColor, TextPositionEnum textPosition)
Public Sub New(text As String, textColor As Color, textPosition As TextPositionEnum)
| Type | Name | Description |
|---|---|---|
| string | text | A string assigned to the Text property of the current object. |
| Color | textColor | The text color to use. |
| TextPositionEnum | textPosition | The text position to use. |
Initializes a new instance of the ParagraphText class, assigning the Text property, and specifying the font, text color and position.
public ParagraphText(string text, Font font, Color textColor, TextPositionEnum textPosition)
Public Sub New(text As String, font As Font, textColor As Color, textPosition As TextPositionEnum)
| Type | Name | Description |
|---|---|---|
| string | text | A string assigned to the Text property of the current object. |
| Font | font | The font to use. |
| Color | textColor | The text color to use. |
| TextPositionEnum | textPosition | The text position to use. |