Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

WorkbookPrintOptions Class

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

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.Spreadsheet.v24.2.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