Skip to main content

PrintingSettings.UseGdiPlusLineBreakAlgorithm Property

Gets or sets whether the PDF export engine uses the GDI+ line break algorithm when exporting a report to PDF.

Namespace: DevExpress.XtraPrinting.Native

Assembly: DevExpress.Printing.v25.1.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

public static bool UseGdiPlusLineBreakAlgorithm { get; set; }

Property Value

Type Default Description
Boolean false

true to use the GDI+ line break algorithm; otherwise, false.

Remarks

A reporting application uses the Windows GDI+ API to render the Print Preview. The PDF export engine relies on a different API to generate the final PDF file from a report. These APIs apply distinct line break algorithms. Reports that contain Chinese, Japanese, or Korean text may display line breaks differently in the Print Preview and in the exported PDF file.

Set the UseGdiPlusLineBreakAlgorithm property to true to align line breaks in the exported PDF with those in the Print Preview.

Note

When the Skia drawing engine is used, the UseGdiPlusLineBreakAlgorithm property is ignored.

See Also