Skip to main content

WorkbookPrintOptions Class

Provides access to options that control how a printed document is generated and previewed.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.Spreadsheet.v24.1.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

public class WorkbookPrintOptions :
    SpreadsheetNotificationOptions

The following members return WorkbookPrintOptions objects:

Remarks

Use the DocumentOptions.Print property to get access to a WorkbookPrintOptions class instance.

  • Access print options for a Workbook instance:

    Workbook workbook = new Workbook();
    var printOptions = workbook.Options.Print;
    
  • Access print options for a workbook in the Spreadsheet control:

    IWorkbook workbook = spreadsheetControl.Document;
    var printOptions = workbook.Options.Print;
    

Inheritance

Object
ViewStatePersisterCore
BaseOptions
DevExpress.XtraSpreadsheet.SpreadsheetNotificationOptions
WorkbookPrintOptions
See Also