Skip to end of metadata
Go to start of metadata

Description

Used to specify the layout for a text watermark.

C#
 public sealed class Layout : TypesafeEnum
vb.net
Public NotInheritable Class Layout
		Inherits TypesafeEnum

Examples

C#

            WordApplication app = new WordApplication();
            Document doc = app.Create();
            Watermark wmark = doc.Watermark;
            wmark.Text = "CONFIDENTIAL";
            wmark.WatermarkLayout = Watermark.Layout.Diagonal;
          
vb.net

            Dim app As New WordApplication()
            Dim doc As Document = app.Create()
            Dim wmark As Watermark = doc.Watermark
            wmark.Text = "CONFIDENTIAL"
            wmark.WatermarkLayout = Watermark.Layout.Diagonal
          

Values

Name

Description

Diagonal

Text is diagonal

Horizontal

Text is horizontal

  • No labels