Skip to main content
A newer version of this page is available. .

IXlSheet.PrintArea Property

Gets or sets the cell range to be printed.

Namespace: DevExpress.Export.Xl

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

Declaration

XlCellRange PrintArea { get; set; }

Property Value

Type Description
XlCellRange

An XlCellRange object that specifies an area on the worksheet to be printed.

Example

Note

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

// Set the print area to cells A1:E5.
sheet.PrintArea = XlCellRange.FromLTRB(0, 0, 4, 4);
See Also