Skip to main content

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.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core

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

Note

A complete sample project is available at https://github.com/DevExpress-Examples/excel-export-api-examples

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