PictureWatermark Class
Represents the picture watermark that appears behind the document content.
- Inheritance:
- System.ObjectPictureWatermark
Constructors
PictureWatermark(DocumentModel, Picture)
Initializes a new instance of the picture watermark.
public PictureWatermark(DocumentModel document, Picture picture)
Public Sub New(document As DocumentModel, picture As Picture)
Parameters
document
- DocumentModel
The owner document.
picture
- Picture
The picture that will represent this watermark.
Properties
Picture
Gets or sets the picture that represents the watermark.
Property Value
The picture that represents the watermark.
Washout
Gets or sets whether washout should be applied to the picture watermark The default value is true.
Property Value
- System.Boolean
True if washout should be applied, false otherwise.
Methods
AutoScale()
Scales the picture watermark to automatically fit into the page. The watermark has to be already assigned to a HeaderFooter for this method to work.