Skip to end of metadata
Go to start of metadata

Description

Returns the watermark's type, which may be image, text, or none.
C#
public Type WatermarkType{ get; }
vb.net
Public ReadOnly Property WatermarkType() As Type

Examples

 
C#
          WordApplication app = new WordApplication();
          Document doc = app.Create();
          Watermark wmark = doc.Watermark;
          Watermark.Type markType = wmark.WatermarkType;
        
vb.net
          Dim app As New WordApplication()
          Dim doc As Document = app.Create()
          Dim wmark As Watermark = doc.Watermark
          Dim markType As Watermark.Type = wmark.WatermarkType
        

Examples

 
  • No labels