ActiveReports 9
Insert(Int32,SectionType,String) Method

The zero-based index where the new section should be inserted.
SectionType of the section to insert.
Unique name of the new section.
Creates a new Section of the specified type and name and inserts it into the  SectionCollection at the specified index.
Syntax
'Declaration
 
Public Overloads Function Insert( _
   ByVal index As System.Integer, _
   ByVal type As SectionType, _
   ByVal name As System.String _
) As Section
public Section Insert( 
   System.int index,
   SectionType type,
   System.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 Value

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.
Requirements

Target Platforms: 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

Reference

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

 

 


Copyright © 2014 GrapeCity, inc. All rights reserved

Support Forum