Xceed Words for .NET v5.1 Documentation
Xceed.Document.NET Assembly / Xceed.Document.NET Namespace / PictureWatermark Class
Members Example


In This Topic
    PictureWatermark Class
    In This Topic
    Represents a Picture-based Watermark.
    Syntax
    'Declaration
     
    Public Class PictureWatermark 
       Inherits Watermark
    'Usage
     
    Dim instance As PictureWatermark
    public class PictureWatermark : Watermark 
    Example
    PictureWatermark watermark = new PictureWatermark( "Path/to/my/picture.jpg" );
    watermark.SetScale( PictureWatermark.ScaleOption.Scale50percent );
    document.AddWatermark( watermark );
    Inheritance Hierarchy

    System.Object
       Xceed.Document.NET.Watermark
          Xceed.Document.NET.PictureWatermark

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Protected Fields
     NameDescription
    Protected Field (Inherited from Xceed.Document.NET.Watermark)
    Protected Field (Inherited from Xceed.Document.NET.Watermark)
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the path pointing to the Picture that will be used as a Watermark.  
    Public PropertyGets or sets the PictureWatermark.ScaleOption.  
    Public PropertyGets or sets the SectionScope. (Inherited from Xceed.Document.NET.Watermark)
    Public PropertyGets the indexes that correspond to the Sections displaying the Watermark. (Inherited from Xceed.Document.NET.Watermark)
    Public PropertyGets or sets the stream containing the Picture that will be used as a Watermark.  
    Top
    Public Methods
     NameDescription
    Public MethodOverridden.   
    Public MethodOverloaded. Overridden. Determines whether the specified object is equal to the current object.  
    Public MethodGets the PictureWatermark.ScaleOption.   
    Public MethodAllows to verify if the Watermark is applied to a specific SectionScope. (Inherited from Xceed.Document.NET.Watermark)
    Public MethodRemoves the Watermark from the specified Section(s). (Inherited from Xceed.Document.NET.Watermark)
    Public MethodAdds the Watermark to the specified Section(s). (Inherited from Xceed.Document.NET.Watermark)
    Public MethodSets the PictureWatermark.ScaleOption.    
    Top
    Protected Methods
     NameDescription
    Protected Method (Inherited from Xceed.Document.NET.Watermark)
    Top
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also