Sets or returns the size of a watermark image as a percentage of its actual size in the source file. |
<table class="wysiwyg-macro" data-macro-name="unmigrated-wiki-markup" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e3VubWlncmF0ZWQtd2lraS1tYXJrdXB9&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre> public int Scale{ get; set; } </pre></td></tr></table> |
<p>Public Property Scale() As Integer</p> |
WordApplication app = new WordApplication(); Document doc = app.Create(); Watermark wmark = doc.Watermark; wmark.Image = File.Open("somepic.gif"); wmark.Scale = 75; |
Dim app As New WordApplication() Dim doc As Document = app.Create() Dim wmark As Watermark = doc.Watermark wmark.Image = File.Open("somepic.gif") wmark.Scale = 75 |