Version

AddHeader Method (ISegment)

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

Return Value

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

When multiple headers are added to a segment, 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 segment:

  • 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 8.1, Windows 8.1, Windows 8, 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

View on GitHub