Skip to main content
All docs
V25.1
  • WatermarkManager.SetImage(Image) Method

    Adds an image watermark to all document pages.

    Namespace: DevExpress.XtraRichEdit.API.Native

    Assembly: DevExpress.RichEdit.v25.1.Core.dll

    NuGet Package: DevExpress.RichEdit.Core

    Declaration

    [Browsable(false)]
    void SetImage(
        Image image
    )

    Parameters

    Name Type Description
    image Image

    A watermark image.

    Remarks

    Watermarks are located in section headers. If a document does not contain headers, a SetImage method call adds headers of the Primary type to all document sections.

    If the document has multiple sections, this method adds the same watermark to each section and each existing section header (first, primary, odd, or even).

    The WatermarkManager.Type property indicates whether the document has watermarks. The property returns WatermarkType.None if the document does not contain watermarks.

    See Also