

'DeclarationPublic Class TextWatermark Inherits Watermark
'UsageDim 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) |
.NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.
.NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.