

'DeclarationPublic Class PictureWatermark Inherits Watermark
'UsageDim instance As PictureWatermark
public class PictureWatermark : Watermark
PictureWatermark watermark = new PictureWatermark( "Path/to/my/picture.jpg" ); watermark.SetScale( PictureWatermark.ScaleOption.Scale50percent ); document.AddWatermark( watermark );
System.Object
Xceed.Document.NET.Watermark
Xceed.Document.NET.PictureWatermark
| Name | Description | |
|---|---|---|
![]() | PictureWatermark Constructor | Overloaded. |
| Name | Description | |
|---|---|---|
![]() | m_ids | (Inherited from Xceed.Document.NET.Watermark) |
![]() | m_isModified | (Inherited from Xceed.Document.NET.Watermark) |
| Name | Description | |
|---|---|---|
![]() | ImagePath | Gets or sets the path pointing to the Picture that will be used as a Watermark. |
![]() | Scale | Gets or sets the PictureWatermark.ScaleOption. |
![]() | 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) |
![]() | Stream | Gets or sets the stream containing the Picture 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. |
![]() | GetScale | Gets the PictureWatermark.ScaleOption. |
![]() | 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) |
![]() | SetScale | Sets the PictureWatermark.ScaleOption. |
| 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.