All docs
V21.2
21.2
21.1
The page you are viewing does not exist in version 21.1. This link will take you to the root page.
20.2
The page you are viewing does not exist in version 20.2. This link will take you to the root page.
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

WatermarkFormat Interface

Contains watermark settings.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v21.2.Core.dll

Declaration

public interface WatermarkFormat

Remarks

Watermarks are stored in shape collections (ShapeCollection) of section headers. Call the Section.BeginUpdateHeader method to access a specific section header. Use the header’s SubDocument.Shapes property to return a collection of shapes located in the header. Use the Shape.Type property to find a watermark in the collection. This property returns the Watermark value if a shape is a watermark.

The Shape.WatermarkFormat property allows you to obtain and modify watermark settings, as described in the table below.

Member Description
WatermarkFormat.Type Returns the watermark type.
WatermarkFormat.TextOptions Allows you to change text watermark settings.
WatermarkFormat.ImageOptions Allows you to change image watermark settings.
WatermarkFormat.SetText Allows you to replace watermark text.
WatermarkFormat.SetImage Allows you to replace a watermark image.
See Also