Skip to main content
A newer version of this page is available. .

Document Sections

  • 2 minutes to read

This topic describes how document sections are used to create documents with the XtraPrinting Library.

Sections divide a document into structural areas for presenting different kinds of information on a page. The following table lists all available document sections.

Section Description
Marginal Header Used to display information outside the upper page margins.
Inner Page Header Used to display page numbers at the top of every page.
Report Header Used to display a document title (its name, short description, author, date, etc.).
Detail Header Used to display titles for a document’s detail section (e.g., column captions).
Detail Used to display a document’s general data.
Detail Footer Used to display summary data for a document’s detail section (e.g., summary results).
Report Footer Used to display a document summary.
Inner Page Footer Used to display page numbers at the bottom of every page.
Marginal Footer Used to display information outside the bottom page margins.

The following image illustrates a three-page document structure that uses all available sections.

Report Structure

All available document sections are listed in the BrickModifier enumeration. To create a document section, set the BrickGraphics.Modifier property to one of the BrickModifier enumeration values. This property is a trigger that notifies the PrintingSystem with which report section to create.

To be displayed in Print Preview, a report must contain at least one brick in the detail section.

See Also