Back to Devexpress

WorksheetPrintOptions.CenterVertically Property

officefileapi-devexpress-dot-spreadsheet-dot-worksheetprintoptions-7e496397.md

latest1.9 KB
Original Source

WorksheetPrintOptions.CenterVertically Property

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

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
bool CenterVertically { get; set; }
vb
Property CenterVertically As Boolean

Property Value

TypeDescription
Boolean

true , to center worksheet data; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath 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

WorksheetPrintOptions Interface

WorksheetPrintOptions Members

DevExpress.Spreadsheet Namespace