NativeExcel suite v1.x

HeaderMargin property

Returns or sets the distance from the top of the page to the header, in inches. Read/write Double.

Syntax

property HeaderMargin: Double;

Example

This example sets the header margin of sheet one to 1/2 inches.
Workbook.Worksheets[1].PageSetup.HeaderMargin := 0.5;
Copyright © NikaSoft 2004-2007