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.RenderMode Property

Gets or sets the render mode for the printed document.

Namespace: DevExpress.XtraSpreadsheet

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