HotXLS Docs

CenterVertically property

True if the sheet is centred vertically on the page when it's printed. Read/write Boolean

Syntax

property CenterVertically: boolean;

Example

This example centres sheet one vertically when it's printed

Workbook.Worksheets[1].PageSetup.CenterVertically := True;