corelibraries-devexpress-dot-xtraprinting-dot-drawing-dot-watermark-1de0dfaa.md
Specifies the unique identifier of a watermark
Namespace : DevExpress.XtraPrinting.Drawing
Assembly : DevExpress.Printing.v25.2.Core.dll
NuGet Package : DevExpress.Printing.Core
[DefaultValue("")]
public string Id { get; set; }
<DefaultValue("")>
Public Property Id As String
| Type | Default | Description |
|---|---|---|
| String | String.Empty |
A watermark unique identifier.
|
The unique identifier of a watermark used to specify the watermark in the following properties:
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Id property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
reporting-winforms-watermark-different-pages/CS/Form1.cs#L38
Watermark textWatermark = new Watermark();
textWatermark.Id = id;
textWatermark.Text = text;
reporting-winforms-watermark-different-pages/VB/Form1.vb#L40
Dim textWatermark As New Watermark()
textWatermark.Id = id
textWatermark.Text = text
See Also