.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
Row

WorksheetPrintOptions.CenterHorizontally Property

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

Namespace: DevExpress.Spreadsheet

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

Declaration

bool CenterHorizontally { get; set; }
Property CenterHorizontally As Boolean
bool CenterHorizontally { get; set; }
Property CenterHorizontally As Boolean
bool CenterHorizontally { get; set; }
Property CenterHorizontally As Boolean

Property Value

Type Description
Boolean

true, to center worksheet data; otherwise, false.

Property Value

Type Description
Boolean

true, to center worksheet data; otherwise, false.

Property Value

Type Description
Boolean

true, to center worksheet data; otherwise, false.

Remarks

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