Back to Devexpress

Document Sections

windowsforms-89-controls-and-libraries-printing-exporting-concepts-basic-terms-document-sections.md

latest2.4 KB
Original Source

Document Sections

  • Apr 01, 2018
  • 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.

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

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

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

Document Creation Approaches

Brick Graphics

Bricks