NativeExcel suite v2.x

RightMargin property

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

Syntax

property RightMargin: Double;

Example

This example set the right margin of sheet one to 1 inch.
Workbook.Sheets[1].PageSetup.RightMargin := 1;
Copyright © NikaSoft 2004-2012