See Also

SectionCollection Class  | SectionCollection Members  | Overload List  | InsertReportHF  | InsertPageHF  | InsertGroupHF

Language

Visual Basic

C#

Show All

index
The zero-based index where the new section should be inserted.
type
SectionType of the section to insert.
name
Unique name of the new section.
See Also Languages ActiveReports Send feedback to Data Dynamics

Insert(Int32,SectionType,String) Method

Creates a new Section of the specified type and name and inserts it into the SectionCollection at the specified index.

[Visual Basic]
Overloads Public Function Insert( _    ByVal index As Integer, _    ByVal type As SectionType, _    ByVal name As String _ ) As Section
[C#]
public Section Insert(    int index,    SectionType type,    string name );

Parameters

index
The zero-based index where the new section should be inserted.
type
SectionType of the section to insert.
name
Unique name of the new section.

Return Type

A section that was created and added into the collection.

Remarks

Report, Page and Group sections must be added in a header/footer pair.   The InsertReportHF, InsertPageHF and InsertGroupHF ensure proper pairing of the header/footer.

See Also

SectionCollection Class  | SectionCollection Members  | Overload List  | InsertReportHF  | InsertPageHF  | InsertGroupHF

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.