Back to Devexpress

Watermark Dialog

windowsforms-403896-controls-and-libraries-rich-text-editor-visual-elements-dialogs-watermark-dialog.md

latest1.9 KB
Original Source

Watermark Dialog

  • May 06, 2022

The Watermark dialog allows users to insert and remove document watermarks.

Click the Watermark button on the Page Layout ribbon tab to invoke this dialog. Refer to the following help topic for details on how to add a ribbon to the Rich Text Editor: How to: Create a RichEditControl with a Ribbon UI.

The Watermark dialog contains the following options:

No watermark

Allows users to remove all watermarks from the document.

Picture watermark

Allows users to insert an image watermark and specify its settings (change the scale percentage and apply or remove the washout effect).

Text watermark

Allows users to insert a text watermark and configure text options (font attributes, text color, and layout).

The Apply to box specifies whether to add a watermark to all document pages or to the current section only.

Customize the Watermark Dialog

Handle the RichEditControl.WatermarkFormShowing event to customize the Watermark dialog or replace it with your own dialog.

Insert Watermarks in Code

Refer to the following help topic for details on how to create watermarks in code: Watermarks in Rich Text Documents.