Back to Devexpress

Watermark.Id Property

corelibraries-devexpress-dot-xtraprinting-dot-drawing-dot-watermark-1de0dfaa.md

latest2.6 KB
Original Source

Watermark.Id Property

Specifies the unique identifier of a watermark

Namespace : DevExpress.XtraPrinting.Drawing

Assembly : DevExpress.Printing.v25.2.Core.dll

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
[DefaultValue("")]
public string Id { get; set; }
vb
<DefaultValue("")>
Public Property Id As String

Property Value

TypeDefaultDescription
StringString.Empty

A watermark unique identifier.

|

Remarks

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

csharp
Watermark textWatermark = new Watermark();
textWatermark.Id = id;
textWatermark.Text = text;

reporting-winforms-watermark-different-pages/VB/Form1.vb#L40

vb
Dim textWatermark As New Watermark()
textWatermark.Id = id
textWatermark.Text = text

See Also

Watermark Class

Watermark Members

DevExpress.XtraPrinting.Drawing Namespace