'Declaration Public Class TextWatermark Inherits Watermark
'Usage Dim instance As TextWatermark
public class TextWatermark : Watermark
'Declaration Public Class TextWatermark Inherits Watermark
'Usage Dim instance As TextWatermark
public class TextWatermark : Watermark
TextWatermark watermark = new TextWatermark() { Text = "ColorAndSize", Font = new Font( "Arial" ), FontSize = 48, Color = Xceed.Drawing.Color.DarkGoldenrod, SemiTransparent = false }; document.AddWatermark( watermark );
System.Object
Xceed.Document.NET.Watermark
Xceed.Document.NET.TextWatermark
Name | Description | |
---|---|---|
![]() | TextWatermark Constructor |
Name | Description | |
---|---|---|
![]() | m_ids | (Inherited from Xceed.Document.NET.Watermark) |
![]() | m_isModified | (Inherited from Xceed.Document.NET.Watermark) |
Name | Description | |
---|---|---|
![]() | Color | Gets or sets the Color of the Watermark's text. |
![]() | Diagonal | Gets or sets if the text is displayed diagonally or not. |
![]() | Font | Gets or sets the Font used to stylize the Watermark's text. |
![]() | FontSize | Gets or sets the size of the Watermark's text. |
![]() | Scope | Gets or sets the SectionScope. (Inherited from Xceed.Document.NET.Watermark) |
![]() | Sections | Gets the indexes that correspond to the Sections displaying the Watermark. (Inherited from Xceed.Document.NET.Watermark) |
![]() | SemiTransparent | Gets or sets if the Watermark is semi-transparent. |
![]() | Text | Gets or sets the text that will be used as a Watermark. |
Name | Description | |
---|---|---|
![]() | Clone | Overridden. |
![]() | Equals | Overloaded. Overridden. Determines whether the specified object is equal to the current object. |
![]() | HasScope | Allows to verify if the Watermark is applied to a specific SectionScope. (Inherited from Xceed.Document.NET.Watermark) |
![]() | RemoveSection | Removes the Watermark from the specified Section(s). (Inherited from Xceed.Document.NET.Watermark) |
![]() | SelectSections | Adds the Watermark to the specified Section(s). (Inherited from Xceed.Document.NET.Watermark) |
![]() | SetDefaultColor | Sets the Color that will be used by default to stylize the Watermark's text. |
![]() | SetDefaultFont | Sets the Font that will be used by default to display the Watermark's text. |
![]() | SetDefaultFontSize | Sets the default size for the Watermark's text. |
Name | Description | |
---|---|---|
![]() | SetAsExisting | (Inherited from Xceed.Document.NET.Watermark) |
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