ClassWatermarkCollection
Manages the collection of watermarks in a document, supporting registration, removal, and enumeration.
Definition
Namespace:Telerik.Windows.Documents.Flow.Model.Watermarks
Assembly:Telerik.Windows.Documents.Flow.dll
Syntax:
public class WatermarkCollection : IEnumerable
Inheritance: objectWatermarkCollection
Implements:
Constructors
WatermarkCollection(RadFlowDocument)
Creates a new watermark collection for the specified document.
Declaration
public WatermarkCollection(RadFlowDocument document)
Parameters
document
The document.
Properties
Methods
Add(Watermark)
Registers the specified watermark in the collection and associates it with this document.
Declaration
public void Add(Watermark watermark)
Parameters
watermark
The watermark.
GetEnumerator()
Returns an enumerator for iterating through all watermarks in the collection.
Declaration
public IEnumerator GetEnumerator()
Returns
An IEnumerator object that can be used to iterate through the collection.
Implements
Remove(Watermark)
Unregisters the specified watermark from the collection and returns true if successful.