Page tree

Versions Compared

Key

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

Excerpt

Sets or returns the size of a watermark image as a percentage of its actual size in the source file.

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

          WordApplication app = new WordApplication();
          Document doc = app.Create();
          Watermark wmark = doc.Watermark;
          wmark.Image = File.Open("somepic.gif");
          wmark.Scale = 75;
        
{code}
{code:csharp|title=C#}

          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
        {code}

{example}
Signature
C#C#
Wiki Markup
{description}
{excerpt}Sets or returns the size of a watermark image as a percentage of its actual size in the source file.{excerpt}
{signature:C#}
 public int Scale{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property Scale() As Integer
Example
Code Block
csharpcsharp
titleC#
Code Block
csharpcsharp
titleC#