Sets or returns the font of watermark text. |
public System.String FontName{ get; set; } |
Public Property FontName() As String |
WordApplication app = new WordApplication(); Document doc = app.Create(); Watermark wmark = doc.Watermark; wmark.Text = "CONFIDENTIAL"; wmark.FontName = "Arial"; |
Dim app As New WordApplication() Dim doc As Document = app.Create() Dim wmark As Watermark = doc.Watermark wmark.Text = "CONFIDENTIAL" wmark.FontName = "Arial" |