Class WatermarkCollection
Represents a collection of watermark elements.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model.Watermarks
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public class WatermarkCollection : IEnumerable<Watermark>, IEnumerable
Constructors
WatermarkCollection(RadFlowDocument)
Initializes a new instance of the WatermarkCollection class.
Declaration
public WatermarkCollection(RadFlowDocument document)
Parameters
RadFlowDocument
document
The document. |
Properties
Item[Int32]
Gets the Watermark at the specified index.
Declaration
public Watermark this[int index] { get; }
Parameters
System.Int32
index
|
Property Value
Watermark
The watermark. |
Methods
Add(Watermark)
Adds the specified watermark to the collection.
Declaration
public void Add(Watermark watermark)
Parameters
Watermark
watermark
The watermark. |
Clear()
Clears this collection.
Declaration
public void Clear()
GetEnumerator()
Returns an enumerator that iterates through a collection.
Declaration
public IEnumerator GetEnumerator()
Returns
System.Collections.IEnumerator
An System.Collections.IEnumerator object that can be used to iterate through the collection. |
Implements
Remove(Watermark)
Removes the specified watermark from the collection.
Declaration
public bool Remove(Watermark watermark)
Parameters
Watermark
watermark
The watermark. |
Returns
System.Boolean
|
Explicit Interface Implementations
IEnumerable<Watermark>.GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
IEnumerator<Watermark> IEnumerable<Watermark>.GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<Watermark>
A System.Collections.Generic.IEnumerator<T> that can be used to iterate through the collection. |