[]
Initializes a new instance of the ParagraphText class.
public ParagraphText()
Initializes a new instance of the ParagraphText class, assigning the Text property, and specifying the Style.
public ParagraphText(string text, Style 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)
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)
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)
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)
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)
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)
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)
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)
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. |