IXlSheet.PrintTitles Property

Provides access to an object used to specify rows and columns to be repeated on every printed page.

Namespace: DevExpress.Export.Xl

Assembly: DevExpress.Printing.v21.2.Core.dll

Declaration

XlPrintTitles PrintTitles { get; }

Property Value

Type Description
XlPrintTitles

An XlPrintTitles object that specifies titles to be repeated on every printed page.

Remarks

Use the PrintTitles property to get access to an object that allows you to repeat specific rows at the top of every printed page (by using the XlPrintTitles.SetRows method), or specific columns on the left side of every printed page (by utilizing the XlPrintTitles.SetColumns method). For details, refer to the How to: Print Titles on a Worksheet example.

Example

// Print the first column and the first row on every page.
sheet.PrintTitles.SetColumns(0, 0);
sheet.PrintTitles.SetRows(0, 0);

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PrintTitles property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also