Returns the watermark's type, which may be image, text, or none. |
<table class="wysiwyg-macro" data-macro-name="unmigrated-wiki-markup" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e3VubWlncmF0ZWQtd2lraS1tYXJrdXB9&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre> public Type WatermarkType{ get; } </pre></td></tr></table> |
<p>Public ReadOnly Property WatermarkType() As Type</p> |
WordApplication app = new WordApplication(); Document doc = app.Create(); Watermark wmark = doc.Watermark; Watermark.Type markType = wmark.WatermarkType; |
Dim app As New WordApplication() Dim doc As Document = app.Create() Dim wmark As Watermark = doc.Watermark Dim markType As Watermark.Type = wmark.WatermarkType |