[]
Adds a text string to the current paragraph content.
public ParagraphText AddText(string text)
Public Function AddText(text As String) As ParagraphText
| 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)
Public Function AddText(text As String, style As Style) As ParagraphText
| 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)
Public Function AddText(text As String, font As Font) As ParagraphText
| 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)
Public Function AddText(text As String, textColor As Color) As ParagraphText
| 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)
Public Function AddText(text As String, textPosition As TextPositionEnum) As ParagraphText
| 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)
Public Function AddText(text As String, font As Font, textColor As Color) As ParagraphText
| 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)
Public Function AddText(text As String, font As Font, textPosition As TextPositionEnum) As ParagraphText
| 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)
Public Function AddText(text As String, textColor As Color, textPosition As TextPositionEnum) As ParagraphText
| 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)
Public Function AddText(text As String, font As Font, textColor As Color, textPosition As TextPositionEnum) As ParagraphText
| 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.