[]
Adds a text string to the current paragraph content.
public ParagraphText AddText(string text)
Type | Name | Description |
---|---|---|
string | text | The text string to add. |
Type | Description |
---|---|
ParagraphText | A ParagraphText object representing the specified text string. |
This method creates a ParagraphText, initializes it with the specified text, and adds it to the current collection.
Adds a text string with the specified style to the current paragraph content.
public ParagraphText AddText(string text, Style style)
Type | Name | Description |
---|---|---|
string | text | The text string to add. |
Style | style | The style to use to render the string. |
Type | Description |
---|---|
ParagraphText | A ParagraphText object representing the specified text string. |
This method creates a ParagraphText, initializes it with the specified text and style, and adds it to the current collection.
Adds a text string with the specified font to the current paragraph content.
public ParagraphText AddText(string text, Font font)
Type | Name | Description |
---|---|---|
string | text | The text string to add. |
Font | font | The font to use to render the string. |
Type | Description |
---|---|
ParagraphText | A ParagraphText object representing the specified text string. |
This method creates a ParagraphText, initializes it with the specified text and font, and adds it to the current collection.
Adds a text string with the specified text color to the current paragraph content.
public ParagraphText AddText(string text, Color textColor)
Type | Name | Description |
---|---|---|
string | text | The text string to add. |
Color | textColor | The text color to use to render the string. |
Type | Description |
---|---|
ParagraphText | A ParagraphText object representing the specified text string. |
This method creates a ParagraphText, initializes it with the specified text and text color, and adds it to the current collection.
Adds a text string with the specified text position to the current paragraph content.
public ParagraphText AddText(string text, TextPositionEnum textPosition)
Type | Name | Description |
---|---|---|
string | text | The text string to add. |
TextPositionEnum | textPosition | The text position to use to render the string. |
Type | Description |
---|---|
ParagraphText | A ParagraphText object representing the specified text string. |
This method creates a ParagraphText, initializes it with the specified text and text position, and adds it to the current collection.
Adds a text string with the specified font and text color to the current paragraph content.
public ParagraphText AddText(string text, Font font, Color textColor)
Type | Name | Description |
---|---|---|
string | text | The text string to add. |
Font | font | The font to use to render the string. |
Color | textColor | The text color to use to render the string. |
Type | Description |
---|---|
ParagraphText | A ParagraphText object representing the specified text string. |
This method creates a ParagraphText, initializes it with the specified text, font and text color, and adds it to the current collection.
Adds a text string with the specified font and text position to the current paragraph content.
public ParagraphText AddText(string text, Font font, TextPositionEnum textPosition)
Type | Name | Description |
---|---|---|
string | text | The text string to add. |
Font | font | The font to use to render the string. |
TextPositionEnum | textPosition | The text position to use to render the string. |
Type | Description |
---|---|
ParagraphText | A ParagraphText object representing the specified text string. |
This method creates a ParagraphText, initializes it with the specified text, font and text position, and adds it to the current collection.
Adds a text string with the specified text color and position to the current paragraph content.
public ParagraphText AddText(string text, Color textColor, TextPositionEnum textPosition)
Type | Name | Description |
---|---|---|
string | text | The text string to add. |
Color | textColor | The text color to use to render the string. |
TextPositionEnum | textPosition | The text position to use to render the string. |
Type | Description |
---|---|
ParagraphText | A ParagraphText object representing the specified text string. |
This method creates a ParagraphText, initializes it with the specified text, text color and position, and adds it to the current collection.
Adds a text string with the specified font, text color and position to the current paragraph content.
public ParagraphText AddText(string text, Font font, Color textColor, TextPositionEnum textPosition)
Type | Name | Description |
---|---|---|
string | text | The text string to add. |
Font | font | The font to use to render the string. |
Color | textColor | The text color to use to render the string. |
TextPositionEnum | textPosition | The text position to use to render the string. |
Type | Description |
---|---|
ParagraphText | A ParagraphText object representing the specified text string. |
This method creates a ParagraphText, initializes it with the specified text, font, text color and position, and adds it to the current collection.