HotXLS Docs

CenterHorizontally property

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

Syntax

property CenterHorizontally: boolean;

Example

This example centers sheet one horizontally when it's printed.

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