add method
Contents
[
Hide
]
add
Adds a formatted text fragment to the collection.
def add(self, text):
...
Parameter | Type | Description |
---|---|---|
text | str | The fragment text. |
add
Adds a formatted text fragment to the collection.
def add(self, text, font):
...
Parameter | Type | Description |
---|---|---|
text | str | The fragment text. |
font | groupdocs.watermark.watermarks.Font | The font of the text. |
add
Adds a formatted text fragment to the collection.
def add(self, text, font, foreground_color):
...
Parameter | Type | Description |
---|---|---|
text | str | The fragment text. |
font | groupdocs.watermark.watermarks.Font | The font of the text. |
foreground_color | groupdocs.watermark.watermarks.Color | The foreground color of the text. |
add
Adds a formatted text fragment to the collection.
def add(self, text, font, foreground_color, background_color):
...
Parameter | Type | Description |
---|---|---|
text | str | The fragment text. |
font | groupdocs.watermark.watermarks.Font | The font of the text. |
foreground_color | groupdocs.watermark.watermarks.Color | The foreground color of the text. |
background_color | groupdocs.watermark.watermarks.Color | The background color of the text. |