HotXLS Docs

TopMargin property

Returns or sets the size of the top margin, in inches. Read/write Double.

Syntax

property TopMargin: Double;

Example

This example set the top margin of sheet one to 1 inch.

Workbook.Sheets[1].PageSetup.TopMargin := 1;