.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

WorksheetPrintOptions.CenterHorizontally Property

Gets or sets whether worksheet data is centered horizontally on a printed page.

Namespace: DevExpress.Spreadsheet

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


bool CenterHorizontally { get; set; }

Property Value

Type Description

true, to center worksheet data; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to CenterHorizontally


Use the CenterHorizontally and WorksheetPrintOptions.CenterVertically properties to center worksheet data on a printed page. For more information on print options, see the How to: Specify Print Settings example.

See Also