Skip to content

Commit 33a1292

Browse files
Update file(s) "/." from "groupdocs-watermark/Groupdocs.Watermark-References"
1 parent 745b32b commit 33a1292

File tree

2,078 files changed

+59902
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,078 files changed

+59902
-0
lines changed

content/sites/groupdocs/watermark/english/python-net/_index.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
title: GroupDocs.Watermark for Python via .NET
3+
second_title: GroupDocs.Watermark for Python via .NET API References
4+
description:
5+
type: docs
6+
url: /python-net/
7+
is_root: true
8+
version: 25.3
9+
weight: 40
10+
---
11+
12+
### Modules
13+
| Module | Description |
14+
| :- | :- |
15+
| [`groupdocs.watermark`](/watermark/python-net/groupdocs.watermark) | The namespace provides classes for working with watermarks in a document of any supported type.<br/><br/><br/><br/><br/>The main classes in this namespace are:<br/>\|<br/>\|<br/>\| is the entry point for watermarking process. \|<br/>\| provides an easy way to customize caching, loging behaviour etc. \|<br/>\| represents a watermark to be added to the content. \| |
16+
| [`groupdocs.watermark.common`](/watermark/python-net/groupdocs.watermark.common) | The namespace provides helper classes. |
17+
| [`groupdocs.watermark.contents`](/watermark/python-net/groupdocs.watermark.contents) | The namespace provides classes for working with documents of any supported types. |
18+
| [`groupdocs.watermark.contents.diagram`](/watermark/python-net/groupdocs.watermark.contents.diagram) | The namespace provides classes for working with watermarks in Visio documents. |
19+
| [`groupdocs.watermark.contents.email`](/watermark/python-net/groupdocs.watermark.contents.email) | The namespace provides classes for working with email messages. |
20+
| [`groupdocs.watermark.contents.image`](/watermark/python-net/groupdocs.watermark.contents.image) | The namespace provides classes for adding watermarks to images of different formats. |
21+
| [`groupdocs.watermark.contents.pdf`](/watermark/python-net/groupdocs.watermark.contents.pdf) | The namespace provides classes for working with watermarks in pdf documents. |
22+
| [`groupdocs.watermark.contents.presentation`](/watermark/python-net/groupdocs.watermark.contents.presentation) | The namespace provides classes for working with watermarks in PowerPoint documents. |
23+
| [`groupdocs.watermark.contents.spreadsheet`](/watermark/python-net/groupdocs.watermark.contents.spreadsheet) | The namespace provides classes for working with watermarks in Excel documents. |
24+
| [`groupdocs.watermark.contents.wordprocessing`](/watermark/python-net/groupdocs.watermark.contents.wordprocessing) | The namespace provides classes for working with watermarks in Word documents. |
25+
| [`groupdocs.watermark.exceptions`](/watermark/python-net/groupdocs.watermark.exceptions) | The namespace provides different exceptions classes. |
26+
| [`groupdocs.watermark.internal`](/watermark/python-net/groupdocs.watermark.internal) | The namespace provides internal classes. |
27+
| [`groupdocs.watermark.options`](/watermark/python-net/groupdocs.watermark.options) | The namespace provides classes to specify additional options when working with documents and watermarks. |
28+
| [`groupdocs.watermark.options.diagram`](/watermark/python-net/groupdocs.watermark.options.diagram) | The namespace provides classes to specify additional options when working with<br/>watermarks in Visio documents. |
29+
| [`groupdocs.watermark.options.email`](/watermark/python-net/groupdocs.watermark.options.email) | The namespace provides classes to specify additional options when loading and saving<br/>Email messages. |
30+
| [`groupdocs.watermark.options.image`](/watermark/python-net/groupdocs.watermark.options.image) | The namespace provides classes to specify additional options when working with<br/>watermarks and images. |
31+
| [`groupdocs.watermark.options.pdf`](/watermark/python-net/groupdocs.watermark.options.pdf) | The namespace provides classes to specify additional options when working with<br/>watermarks and PDF documents. |
32+
| [`groupdocs.watermark.options.presentation`](/watermark/python-net/groupdocs.watermark.options.presentation) | The namespace provides classes to specify additional options when working with<br/>watermarks and PowerPoint documents. |
33+
| [`groupdocs.watermark.options.spreadsheet`](/watermark/python-net/groupdocs.watermark.options.spreadsheet) | The namespace provides classes to specify additional options when working with<br/>watermarks and Excel documents. |
34+
| [`groupdocs.watermark.options.wordprocessing`](/watermark/python-net/groupdocs.watermark.options.wordprocessing) | The namespace provides classes to specify additional options when working with<br/>watermarks and Word documents. |
35+
| [`groupdocs.watermark.search`](/watermark/python-net/groupdocs.watermark.search) | The namespace provides classes for searching, editing and removing watermarks<br/>in documents of different types. |
36+
| [`groupdocs.watermark.search.objects`](/watermark/python-net/groupdocs.watermark.search.objects) | The namespace provides classes for document objects that are to be included<br/>in a watermark search. |
37+
| [`groupdocs.watermark.search.searchcriteria`](/watermark/python-net/groupdocs.watermark.search.searchcriteria) | The namespace provides classes that can be used to construct criteria<br/>when searching for watermarks. |
38+
| [`groupdocs.watermark.search.watermarks`](/watermark/python-net/groupdocs.watermark.search.watermarks) | The namespace provides classes of possible watermarks found<br/>in documents of different formats. |
39+
| [`groupdocs.watermark.watermarks`](/watermark/python-net/groupdocs.watermark.watermarks) | The namespace provides classes to specify properties of watermarks. |
40+
| [`groupdocs.watermark.watermarks.results`](/watermark/python-net/groupdocs.watermark.watermarks.results) | |
41+
42+
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
title: groupdocs.watermark.common
3+
second_title: GroupDocs.Watermark for Python via .NET API References
4+
description:
5+
type: docs
6+
url: /python-net/groupdocs.watermark.common/
7+
is_root: false
8+
weight: 10
9+
---
10+
11+
The namespace provides helper classes.
12+
13+
### Classes
14+
| Class | Description |
15+
| :- | :- |
16+
| [`Attachment`](/watermark/python-net/groupdocs.watermark.common/attachment) | Represents a file attached to a document. |
17+
| [`AttachmentWatermarkableImage`](/watermark/python-net/groupdocs.watermark.common/attachmentwatermarkableimage) | Represents an attached image inside a content of any supported type. |
18+
| [`FileType`](/watermark/python-net/groupdocs.watermark.common/filetype) | Represents file type. |
19+
| [`IDocumentInfo`](/watermark/python-net/groupdocs.watermark.common/idocumentinfo) | Defines the methods that are required for getting the basic document information. |
20+
| [`PageInfo`](/watermark/python-net/groupdocs.watermark.common/pageinfo) | Represents a document page description. |
21+
22+
23+
### Enumerations
24+
| Enumeration | Description |
25+
| :- | :- |
26+
| [`Dimension`](/watermark/python-net/groupdocs.watermark.common/dimension) | Represents dimensions of a 2d object. |
27+
| [`FormatFamily`](/watermark/python-net/groupdocs.watermark.common/formatfamily) | Enumeration of supported format families. |
28+
| [`HorizontalAlignment`](/watermark/python-net/groupdocs.watermark.common/horizontalalignment) | Enumeration of possible horizontal alignment values. |
29+
| [`VerticalAlignment`](/watermark/python-net/groupdocs.watermark.common/verticalalignment) | Enumeration of possible vertical alignment values. |
30+
31+
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
title: Attachment class
3+
second_title: GroupDocs.Watermark for Python via .NET API References
4+
description:
5+
type: docs
6+
url: /python-net/groupdocs.watermark.common/attachment/
7+
is_root: false
8+
weight: 10
9+
---
10+
11+
## Attachment class
12+
13+
Represents a file attached to a document.
14+
15+
16+
17+
The Attachment type exposes the following members:
18+
19+
### Properties
20+
| Property | Description |
21+
| :- | :- |
22+
| [content](/watermark/python-net/groupdocs.watermark.common/attachment/content) | Gets or sets the attached file content. |
23+
24+
25+
### Methods
26+
| Method | Description |
27+
| :- | :- |
28+
| [create_watermarker](/watermark/python-net/groupdocs.watermark.common/attachment/create_watermarker/#) | Loads a content from the attached file. |
29+
| [create_watermarker](/watermark/python-net/groupdocs.watermark.common/attachment/create_watermarker/#groupdocs.watermark.options.LoadOptions) | Loads a content from the attached file with the specified load options. |
30+
| [create_watermarker](/watermark/python-net/groupdocs.watermark.common/attachment/create_watermarker/#groupdocs.watermark.options.LoadOptions-groupdocs.watermark.WatermarkerSettings) | Loads a content from the attached file with the specified load options and settings. |
31+
| [get_document_info](/watermark/python-net/groupdocs.watermark.common/attachment/get_document_info/#) | Gets the information about a document stored in the attached file. |
32+
33+
34+
35+
### Remarks
36+
37+
38+
**Learn more** |
39+
|
40+
|
41+
|
42+
|
43+
44+
### See Also
45+
* module [`groupdocs.watermark.common`](..)
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
title: content property
3+
second_title: GroupDocs.Watermark for Python via .NET API References
4+
description:
5+
type: docs
6+
url: /python-net/groupdocs.watermark.common/attachment/content/
7+
is_root: false
8+
weight: 50
9+
---
10+
11+
## content property
12+
13+
14+
Gets or sets the attached file content.
15+
### Definition:
16+
```python
17+
@property
18+
def content(self):
19+
...
20+
@content.setter
21+
def content(self, value):
22+
...
23+
```
24+
25+
### See Also
26+
* module [`groupdocs.watermark.common`](../../)
27+
* class [`Attachment`](/watermark/python-net/groupdocs.watermark.common/attachment)
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
---
2+
title: create_watermarker method
3+
second_title: GroupDocs.Watermark for Python via .NET API References
4+
description:
5+
type: docs
6+
url: /python-net/groupdocs.watermark.common/attachment/create_watermarker/
7+
is_root: false
8+
weight: 20
9+
---
10+
11+
## create_watermarker {#}
12+
13+
Loads a content from the attached file.
14+
15+
16+
### Returns
17+
18+
19+
The instance of appropriate descendant of [`Content`](/watermark/python-net/groupdocs.watermark.contents/content) class.
20+
21+
22+
```python
23+
def create_watermarker(self):
24+
...
25+
```
26+
27+
28+
29+
30+
## create_watermarker {#groupdocs.watermark.options.LoadOptions}
31+
32+
Loads a content from the attached file with the specified load options.
33+
34+
35+
### Returns
36+
37+
38+
The instance of appropriate descendant of [`Content`](/watermark/python-net/groupdocs.watermark.contents/content) class.
39+
40+
41+
```python
42+
def create_watermarker(self, load_options):
43+
...
44+
```
45+
46+
47+
| Parameter | Type | Description |
48+
| :- | :- | :- |
49+
| load_options | groupdocs.watermark.options.LoadOptions | Additional options to use when loading an attachment content. |
50+
51+
52+
## create_watermarker {#groupdocs.watermark.options.LoadOptions-groupdocs.watermark.WatermarkerSettings}
53+
54+
Loads a content from the attached file with the specified load options and settings.
55+
56+
57+
### Returns
58+
59+
60+
The instance of appropriate descendant of [`Content`](/watermark/python-net/groupdocs.watermark.contents/content) class.
61+
62+
63+
```python
64+
def create_watermarker(self, load_options, watermarker_settings):
65+
...
66+
```
67+
68+
69+
| Parameter | Type | Description |
70+
| :- | :- | :- |
71+
| load_options | groupdocs.watermark.options.LoadOptions | Additional options to use when loading an attachment content. |
72+
| watermarker_settings | [`WatermarkerSettings`](/watermark/python-net/groupdocs.watermark/watermarkersettings) | Additional settings to use when working with loaded document. |
73+
74+
75+
76+
### See Also
77+
* module [`groupdocs.watermark.common`](../../)
78+
* class [`Attachment`](/watermark/python-net/groupdocs.watermark.common/attachment)
79+
* class [`Content`](/watermark/python-net/groupdocs.watermark.contents/content)
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
title: get_document_info method
3+
second_title: GroupDocs.Watermark for Python via .NET API References
4+
description:
5+
type: docs
6+
url: /python-net/groupdocs.watermark.common/attachment/get_document_info/
7+
is_root: false
8+
weight: 30
9+
---
10+
11+
## get_document_info {#}
12+
13+
Gets the information about a document stored in the attached file.
14+
15+
16+
### Returns
17+
18+
19+
The [`IDocumentInfo`](/watermark/python-net/groupdocs.watermark.common/idocumentinfo) instance that contains detected information
20+
21+
22+
```python
23+
def get_document_info(self):
24+
...
25+
```
26+
27+
28+
29+
30+
31+
### See Also
32+
* module [`groupdocs.watermark.common`](../../)
33+
* class [`Attachment`](/watermark/python-net/groupdocs.watermark.common/attachment)
34+
* class [`IDocumentInfo`](/watermark/python-net/groupdocs.watermark.common/idocumentinfo)

content/sites/groupdocs/watermark/english/python-net/groupdocs.watermark.common/attachmentwatermarkableimage/_index.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
title: AttachmentWatermarkableImage class
3+
second_title: GroupDocs.Watermark for Python via .NET API References
4+
description:
5+
type: docs
6+
url: /python-net/groupdocs.watermark.common/attachmentwatermarkableimage/
7+
is_root: false
8+
weight: 20
9+
---
10+
11+
## AttachmentWatermarkableImage class
12+
13+
Represents an attached image inside a content of any supported type.
14+
15+
16+
17+
**Inheritance:** [`AttachmentWatermarkableImage`](/watermark/python-net/groupdocs.watermark.common/attachmentwatermarkableimage)
18+
[`WatermarkableImage`](/watermark/python-net/groupdocs.watermark.contents.image/watermarkableimage)
19+
[`ContentPart`](/watermark/python-net/groupdocs.watermark.contents/contentpart)
20+
21+
22+
23+
The AttachmentWatermarkableImage type exposes the following members:
24+
25+
### Properties
26+
| Property | Description |
27+
| :- | :- |
28+
| [height](/watermark/python-net/groupdocs.watermark.common/attachmentwatermarkableimage/height) | Gets the height of this [`WatermarkableImage`](/watermark/python-net/groupdocs.watermark.contents.image/watermarkableimage) in pixels. |
29+
| [width](/watermark/python-net/groupdocs.watermark.common/attachmentwatermarkableimage/width) | Gets the width of this [`WatermarkableImage`](/watermark/python-net/groupdocs.watermark.contents.image/watermarkableimage) in pixels. |
30+
31+
32+
### Methods
33+
| Method | Description |
34+
| :- | :- |
35+
| [find_images](/watermark/python-net/groupdocs.watermark.common/attachmentwatermarkableimage/find_images/#groupdocs.watermark.search.searchcriteria.ImageSearchCriteria) | Finds images according to the specified search criteria.<br/>The search is conducted in the objects specified in [`Watermarker.searchable_objects`](/watermark/python-net/groupdocs.watermark/watermarker#searchable_objects). |
36+
| [find_images](/watermark/python-net/groupdocs.watermark.common/attachmentwatermarkableimage/find_images/#) | Finds all images in the content.<br/>The search is conducted in the objects specified in [`Watermarker.searchable_objects`](/watermark/python-net/groupdocs.watermark/watermarker#searchable_objects). |
37+
| [search](/watermark/python-net/groupdocs.watermark.common/attachmentwatermarkableimage/search/#groupdocs.watermark.search.searchcriteria.SearchCriteria) | Finds possible watermarks according to specified search criteria.<br/>The search is conducted in the objects specified in [`Watermarker.searchable_objects`](/watermark/python-net/groupdocs.watermark/watermarker#searchable_objects). |
38+
| [search](/watermark/python-net/groupdocs.watermark.common/attachmentwatermarkableimage/search/#) | Finds all possible watermarks in the content.<br/>The search is conducted in the objects specified in [`Watermarker.searchable_objects`](/watermark/python-net/groupdocs.watermark/watermarker#searchable_objects). |
39+
| [add](/watermark/python-net/groupdocs.watermark.common/attachmentwatermarkableimage/add/#groupdocs.watermark.Watermark) | Adds a watermark to this [`WatermarkableImage`](/watermark/python-net/groupdocs.watermark.contents.image/watermarkableimage).<br/>This method assumes that watermark offset and size are measured in pixels (if they are assigned). |
40+
| [get_bytes](/watermark/python-net/groupdocs.watermark.common/attachmentwatermarkableimage/get_bytes/#) | Gets the image as byte array. |
41+
42+
43+
44+
### See Also
45+
* module [`groupdocs.watermark.common`](..)
46+
* class [`AttachmentWatermarkableImage`](/watermark/python-net/groupdocs.watermark.common/attachmentwatermarkableimage)
47+
* class [`ContentPart`](/watermark/python-net/groupdocs.watermark.contents/contentpart)
48+
* class [`WatermarkableImage`](/watermark/python-net/groupdocs.watermark.contents.image/watermarkableimage)
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
title: add method
3+
second_title: GroupDocs.Watermark for Python via .NET API References
4+
description:
5+
type: docs
6+
url: /python-net/groupdocs.watermark.common/attachmentwatermarkableimage/add/
7+
is_root: false
8+
weight: 20
9+
---
10+
11+
## add {#groupdocs.watermark.Watermark}
12+
13+
Adds a watermark to this [`WatermarkableImage`](/watermark/python-net/groupdocs.watermark.contents.image/watermarkableimage).
14+
This method assumes that watermark offset and size are measured in pixels (if they are assigned).
15+
16+
17+
18+
```python
19+
def add(self, watermark):
20+
...
21+
```
22+
23+
24+
| Parameter | Type | Description |
25+
| :- | :- | :- |
26+
| watermark | [`Watermark`](/watermark/python-net/groupdocs.watermark/watermark) | The watermark to add to the image. |
27+
28+
29+
30+
### See Also
31+
* module [`groupdocs.watermark.common`](../../)
32+
* class [`AttachmentWatermarkableImage`](/watermark/python-net/groupdocs.watermark.common/attachmentwatermarkableimage)
33+
* class [`WatermarkableImage`](/watermark/python-net/groupdocs.watermark.contents.image/watermarkableimage)

0 commit comments

Comments
 (0)