Gå til indhold

Header and footer alignment and margins

Dette indhold er ikke tilgængeligt i dit sprog endnu.

You can define the alignment and as well as set the margins for your custom headers and footers in the document.

Use the HorizontalAlignment and Verticalalignment parameters to define the alignment of the custom headers and footers in the report.

The following alignment settings can be specified for the parameters:

  • VerticalAlignment:
    • Top
    • Middle
    • Bottom
  • HorizontalAlignment:
    • Left
    • Center
    • Right

You can also adjust the placement of the custom header or footer relative to the page edge (the page height and width) by using the HorizontalMargin and VerticalMargin parameters.

You must specify the number of points (in apostrophes) to adjust the margin as an offset, relative to the page edge. The custom margin uses the header or footer alignment as the starting point.

Horizontal margin specified for a right-aligned header.

HeaderStyle {HorizontalAlignment: 'Right', HorizontalMargin: '10' },

The horizontal margin parameter offsets the header by 10 points, relative to the right edge of the page, using the right-aligned header as the starting point.