Class HeaderFooterCollection
Represents a HeaderFooterCollection.
Inherited Members
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public class HeaderFooterCollection : IEnumerable<HeaderFooter>, IEnumerable
Properties
Count
Gets count.
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| int |
this[int]
Gets this[int].
Declaration
public HeaderFooter this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| int | index |
Property Value
| Type | Description |
|---|---|
| HeaderFooter |
Methods
Add(HeaderFooterType)
Adds the specified item to this collection.
Declaration
public HeaderFooter Add(HeaderFooterType headerFooterType)
Parameters
| Type | Name | Description |
|---|---|---|
| HeaderFooterType | headerFooterType | The header Footer Type used by the operation. |
Returns
| Type | Description |
|---|---|
| HeaderFooter | The resulting value. |
Clear()
Removes all headers and footers from the section.
Declaration
public void Clear()
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<HeaderFooter> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<HeaderFooter> | The resulting value. |
RemoveAt(int)
Removes the header or footer at the specified zero-based index.
Declaration
public void RemoveAt(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The zero-based index to remove. |