Skip to main content
All docs
V26.1
  • WorkbookPrintOptions.RenderMode Property

    Gets or sets the render mode for the printed document.

    Namespace: DevExpress.XtraSpreadsheet

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

    NuGet Package: DevExpress.Spreadsheet.Core

    Declaration

    [DefaultValue(SpreadsheetPrintRenderMode.Gdi)]
    [XtraSerializableProperty]
    public SpreadsheetPrintRenderMode RenderMode { get; set; }

    Property Value

    Type Default Description
    SpreadsheetPrintRenderMode Gdi

    An enumeration value that specifies the render mode.

    Available values:

    Name Description
    Gdi

    Specifies that the printed document is rendered using GDI.

    GdiPlus

    Specifies that the printed document is rendered using GDI+.

    Property Paths

    You can access this nested property as listed below:

    Object Type Path to RenderMode
    DocumentOptions
    .Print .RenderMode

    Remarks

    Use the RenderMode property to specify which library (GDI or GDI+) should be used to generate a printed document’s layout.

    See Also