Version

AddHeader Method (ISection)

Creates a new header object that implements the Infragistics.Documents.Reports.Report.Section.IHeader interface and adds it to the internal collection of objects.
Syntax
'Declaration
 
Function AddHeader() As ISectionHeader
ISectionHeader AddHeader()

Return Value

An object that implements the Infragistics.Documents.Reports.Report.Section.IHeader interface.
Remarks

When multiple headers are added to a section, each page will use the next header in the internal list, cycling back to the beginning of the list after the end is reached. Mathematically, think of the header used as [page #] mod [# headers].

As an example, assume that there are two headers in the section:

  • Page 1: First Header
  • Page 2: Second Header
  • Page 3: First Header
  • ...

Note: A header can be excluded from being repeated through the Repeat property

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also