Skip to main content
Row

WorksheetPrintOptions.CenterVertically Property

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

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

bool CenterVertically { get; set; }

Property Value

Type Description
Boolean

true, to center worksheet data; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to CenterVertically
Worksheet
.PrintOptions .CenterVertically

Remarks

Use the CenterVertically and WorksheetPrintOptions.CenterHorizontally 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