Add
Leave feedback
On this page
Adds a formatted text fragment to the collection.
public void Add(string text)
| Parameter | Type | Description |
|---|---|---|
| text | String | The fragment text. |
- class FormattedTextFragmentCollection
- namespace GroupDocs.Watermark.Search
- assembly GroupDocs.Watermark
Adds a formatted text fragment to the collection.
public void Add(string text, Font font)
| Parameter | Type | Description |
|---|---|---|
| text | String | The fragment text. |
| font | Font | The font of the text. |
- class Font
- class FormattedTextFragmentCollection
- namespace GroupDocs.Watermark.Search
- assembly GroupDocs.Watermark
Adds a formatted text fragment to the collection.
public void Add(string text, Font font, Color foregroundColor)
| Parameter | Type | Description |
|---|---|---|
| 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
Adds a formatted text fragment to the collection.
public void Add(string text, Font font, Color foregroundColor, Color backgroundColor)
| Parameter | Type | Description |
|---|---|---|
| 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.