.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

WorkbookPrintOptions Class

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

Namespace: DevExpress.XtraSpreadsheet

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

Declaration

public class WorkbookPrintOptions :
    SpreadsheetNotificationOptions
Public Class WorkbookPrintOptions
    Inherits 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
See Also