• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class HeaderFooterCollection

Represents a HeaderFooterCollection.

Inheritance
object
HeaderFooterCollection
Implements
IEnumerable<HeaderFooter>
IEnumerable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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.

Implements

IEnumerable<T>
IEnumerable
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX