NativeExcel suite v2.x

Location property

Returns the cell (a IXLSRange object) that defines the horizontal page-break location. Horizontal page breaks are aligned with the top edge of the location cell. Read only IXLSRange.

Syntax

property Location: IXLSRange;

Example

This example sets the interior color of the page-break location to red.
Workbook.Sheets[1].HPageBreaks.Item[1].Location.Interior.Color := xlRed;
Copyright © NikaSoft 2004-2012