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.v20.2.Core.dll

NuGet Packages: DevExpress.Printing.Core, DevExpress.WindowsDesktop.Printing.Core

Declaration

XlCellRange PrintArea { get; set; }

Property Value

Type Description
XlCellRange

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

Example

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