Skip to end of metadata
Go to start of metadata

Description

Sets or returns the font of watermark text.
C#
public System.String FontName{ get; set; }
vb.net
Public Property FontName() As String

Examples

 
C#
          WordApplication app = new WordApplication();
          Document doc = app.Create();
          Watermark wmark = doc.Watermark;
          wmark.Text = "CONFIDENTIAL";
          wmark.FontName = "Arial";
        
vb.net
          Dim app As New WordApplication()
          Dim doc As Document = app.Create()
          Dim wmark As Watermark = doc.Watermark
          wmark.Text = "CONFIDENTIAL"
          wmark.FontName = "Arial"
        

Examples

 
  • No labels