HotXLS Documentation

CenterHorizontally property

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

Syntax

property CenterHorizontally: boolean;

Example

This example centres sheet one horizontally when it's printed

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