NativeExcel suite v1.x

CenterVertically property

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

Syntax

property CenterVertically: boolean;

Example

This example centers sheet one vertically when it's printed.
Workbook.Worksheets[1].PageSetup.CenterVertically := True;
Copyright © NikaSoft 2004-2012