Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

...

Wiki Markup
{description}
{excerpt}Returns the watermark's type, which may be image, text, or none.

...

{signature}
{example}{code:csharp|title=C#}

          WordApplication app = new WordApplication();
          Document doc = app.Create();
          Watermark wmark = doc.Watermark;
          Watermark.Type markType = wmark.WatermarkType;
        
{code}
{code:vb.net
|title=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
        {code}

{example}
Signature
C#C#
{excerpt}
{signature:C#}
 public Type WatermarkType{ get; }
Signature
{signature}{signature:vb.net
vb.net
}
Public ReadOnly Property WatermarkType() As Type
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle