Returns the watermark's type, which may be image, text, or none. |
public Type WatermarkType{ get; } |
Public ReadOnly Property WatermarkType() As Type |
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 |