Insert
Leave feedback
On this page
Inserts a formatted text fragment into the collection at a given index.
public void Insert(int index, string text)
| Parameter | Type | Description |
|---|---|---|
| index | Int32 | The zero-based index at which formatted text fragment should be inserted. |
| text | String | The fragment text. |
- class FormattedTextFragmentCollection
- namespace GroupDocs.Watermark.Search
- assembly GroupDocs.Watermark
Inserts a formatted text fragment into the collection at a given index.
public void Insert(int index, string text, Font font)
| Parameter | Type | Description |
|---|---|---|
| index | Int32 | The zero-based index at which formatted text fragment should be inserted. |
| text | String | The fragment text. |
| font | Font | The font of the text. |
- class Font
- class FormattedTextFragmentCollection
- namespace GroupDocs.Watermark.Search
- assembly GroupDocs.Watermark
Inserts a formatted text fragment into the collection at a given index.
public void Insert(int index, string text, Font font, Color foregroundColor)
| Parameter | Type | Description |
|---|---|---|
| index | Int32 | The zero-based index at which formatted text fragment should be inserted. |
| text | String | The fragment text. |
| font | Font | The font of the text. |
| foregroundColor | Color | The foreground color of the text. |
- class Font
- struct Color
- class FormattedTextFragmentCollection
- namespace GroupDocs.Watermark.Search
- assembly GroupDocs.Watermark
Inserts a formatted text fragment into the collection at a given index.
public void Insert(int index, string text, Font font, Color foregroundColor, Color backgroundColor)
| Parameter | Type | Description |
|---|---|---|
| index | Int32 | The zero-based index at which formatted text fragment should be inserted. |
| text | String | The fragment text. |
| font | Font | The font of the text. |
| foregroundColor | Color | The foreground color of the text. |
| backgroundColor | Color | The background color of the text. |
- class Font
- struct Color
- class FormattedTextFragmentCollection
- namespace GroupDocs.Watermark.Search
- assembly GroupDocs.Watermark
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.