Worksheet.GetPrintableRange(Boolean) Method
Calculates a worksheet range that can be printed with respect to the specified print area.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v24.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
use |
Boolean | true, to take into account the print area defined by the _xlnm. |
#Returns
Type | Description |
---|---|
Cell |
A Cell |
#Remarks
The GetPrintableRange method returns a range that meets conditions listed in the GetPrintableRange method override without parameters. However, if the usePrintAreaDefinedName parameter is true and the _xlnm.Print_Area name defines a range that is contained within the calculated printable range, the GetPrintableRange method returns the print range defined by the _xlnm.Print_Area name.