Table of Contents

Class Watermark

Namespace
DocWright.Dom
Assembly
DocWright.Dom.dll

A text watermark as Word's Design > Watermark writes one (Phase 160, WQ-0133): WordArt behind the text, centred on the margins, in a page's header.

public sealed class Watermark
Inheritance
Watermark
Inherited Members

Constructors

Watermark()

Properties

Bold

Gets or sets whether the text is bold.

Color

Gets or sets the colour (Word's gallery: silver).

Diagonal

Gets or sets whether the text runs diagonally, up to the right (Word's Diagonal, rotated 315°); else horizontally.

FontFamily

Gets or sets the font family.

FontSize

Gets or sets the font size, or null for Word's "Auto": the text stretched to the box (written as 1 pt). With a size, Word's box is the text at that size (its advance wide, the font's ascent and descent high).

Height

Gets or sets the box's height.

Italic

Gets or sets whether the text is italic.

SemiTransparent

Gets or sets whether the colour is half transparent (Word's Semitransparent, on by default).

Text

Gets or sets the text.

Width

Gets or sets the box's width.

Methods

Clone()

Creates a copy.