.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

WorkbookPrintOptions Class

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

Namespace: DevExpress.XtraSpreadsheet

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

Declaration

public class WorkbookPrintOptions :
    SpreadsheetNotificationOptions

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