Message-ID: <589196937.10521.1711727105772.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_10520_762074235.1711727105772" ------=_Part_10520_762074235.1711727105772 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
A Watermark object represents a =
document's watermark, which is an image or text that when printed appears i=
n the background of a document. The property Document.Watermark returns a Watermark
obje=
ct.
public sealed class Watermark=20
Public NotInheritable Class Watermark=20
WordApplication app =3D new WordApplication(); Document doc =3D app.Create(); Watermark wmark =3D doc.Watermark;=20
Dim app As New WordApplication() Dim doc As Document =3D app.Create() Dim wmark As Watermark =3D doc.Watermark=20
Name | =20
Description | =20
---|---|
=20 | Sets or returns the color of the watermark. =20 |
=20 | Sets or returns the font of watermark text. =20 |
=20 | Sets or returns an image to use as the watermar= k. | =20
=20 | Sets or returns the size of a watermark image a= s a percentage of its actual size in the source file. | =20
=20 | Sets or returns whether a text watermark will b= e semitransparent or not. | =20
=20 | Sets or returns the size of watermark text. =20 |
=20 | Sets or returns text to use as the document's w= atermark. | =20
=20 | Sets or returns whether an image watermark will= be faded or not. | =20
=20 | Sets or returns the layout of watermark text. <= /td>=20 |
=20 | Returns the watermark's type, which may be imag= e, text, or none. | =20
Name | =20
Description | =20
---|---|
=20 | Clears all properties assigned to the watermark=
. Call this method to remove a watermark from the document. | =20