wpf-devexpress-dot-xpf-dot-spreadsheet-dot-spreadsheetcompatibilityoptions-8fe65630.md
Enables the legacy PDF export engine. This is a dependency property.
Namespace : DevExpress.Xpf.Spreadsheet
Assembly : DevExpress.Xpf.Spreadsheet.v25.2.dll
NuGet Package : DevExpress.Wpf.Spreadsheet
public bool EnableLegacyPdfExport { get; set; }
Public Property EnableLegacyPdfExport As Boolean
| Type | Description |
|---|---|
| Boolean |
true to use the legacy PDF export based on the DevExpress Printing library; otherwise, false. The default value is false.
|
You can access this nested property as listed below:
| Object Type | Path to EnableLegacyPdfExport |
|---|---|
| SpreadsheetControlOptions |
.Compatibility .EnableLegacyPdfExport
|
We implemented a new PDF export engine in v20.2 and made it the default export option in our WPF Spreadsheet control. The new engine renders more accurate layouts and increases the speed at which PDF files are generated.
The new PDF export is only available when you use the new layout calculation engine (the EnableLegacyLayoutEngine property is false ).
If you upgrade your application to DevExpress v20.2 or later, the exported PDF file layout can change. Activate the EnableLegacyPdfExport property to switch to the legacy PDF export engine that uses DevExpress Printing library to generate PDF files.
<dxsps:SpreadsheetControl.Options>
<dxsps:SpreadsheetControlOptions>
<dxsps:SpreadsheetControlOptions.Compatibility>
<dxsps:SpreadsheetCompatibilityOptions EnableLegacyPdfExport="True" />
</dxsps:SpreadsheetControlOptions.Compatibility>
</dxsps:SpreadsheetControlOptions>
</dxsps:SpreadsheetControl.Options>
See Also
SpreadsheetCompatibilityOptions Class