All docs
V20.1
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

CrossTabPrintOptions.PrintLayout Property

Specifies how to print the Cross Tab across several pages.

Namespace: DevExpress.XtraReports.UI.CrossTab

Assembly: DevExpress.XtraReports.v20.1.dll

Declaration

[DefaultValue(PrintLayout.AcrossOnly)]
public PrintLayout PrintLayout { get; set; }
<DefaultValue(PrintLayout.AcrossOnly)>
Public Property PrintLayout As PrintLayout

Property Value

Type Default Description
PrintLayout

AcrossOnly

A value that specifies whether to display the Cross Tab's content that does not fit on a page on the same page or on the next page.

Property Paths

You can access this nested property as listed below:

Object Type Path to PrintLayout
XRCrossTab
.PrintOptions.PrintLayout

Remarks

At design time, you can set the PrintLayout property in the Cross Tab's smart tag or in the Properties window's PrintOptions group.

This property provides the following values:

  • AcrossOnly (Default)

    The Cross Tab content that does not fit the page's width is printed on the next page.

    Row headers are repeated on the next page. Set the RepeatRowHeaders property to false to print row headers only once.

    Column headers are repeated on the next page if the Cross Tab does not fit the page height and is split between pages. Set the RepeatColumnHeaders property to false to print column headers only once.

  • AcrossThenDown

    The Cross Tab content that does not fit the page's width is printed on the same page below the previous content. You can use the AcrossThenDownOffset property to specify the vertical distance between parts of the Cross Tab's content.

    TIP

    This mode allows you to use empty space on the page if your Cross Tab's height is less than the page's height but the width is greater than the page's width.

    Row headers are repeated in all parts of the Cross Tab's content. Set the RepeatRowHeaders property to false to print row headers only once.

    Column headers are included in the Cross Tab's each part that is displayed within the page. The part that is split between pages includes column headers on the previous page but not on the next page. The RepeatColumnHeaders property is not in effect.

NOTE

Cross tab cells are split between pages if they do not fit the page's width or height. Set the report's VerticalContentSplitting and HorizontalContentSplitting properties to Smart to move cells to the next page (or to the Cross Tab's next part shown on the same page).

See Also