HotXLS dokumentacija

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

property

property

CenterHorizontally: boolean; This example centers sheet one horizontally when it's printed

This example centers sheet one horizontally when it's printed

Workbook.Worksheets[

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