Represents a page header or footer.
Namespace: MindFusion.Reporting
Assembly: MindFusion.Reporting
SyntaxC#
Copy Code
|
|---|
public class PageSection : ItemContainer |
Visual Basic
Copy Code
|
|---|
Public Class PageSection |
RemarksWhen working with the MindFusion.Reporting Designer you don't have to worry about creating instances of this class and assigning them to the appropriate Page properties.
If you want to create a header or footer for a Page object through code, you have to instantiate from this class and assign the instance to the Header or Footer property of the Page object respectively. You can add items to the header or footer through its Items property.
ExampleThe following example demonstrates how to create a header for an existing Page object:
C#
Copy Code
|
|---|
PageSection header = new PageSection(); |
Visual Basic
Copy Code
|
|---|
Dim header As New PageSection() |
Inheritance HierarchySystem.Object![]()
System.MarshalByRefObject![]()
System.ComponentModel.Component![]()
MindFusion.Reporting.ReportItem
MindFusion.Reporting.ItemContainer
MindFusion.Reporting.PageSection
See Also