NativeExcel suite v2.x

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;
Copyright © NikaSoft 2004-2012