Table of Contents

TExcelFile.SplitWindow Method

This command is equivalent to Menu->Window->Split. It will split the window in 4 regions. Note that because Excel works this way, when you FreezePanes the windows are unsplitted and vice-versa See also GetSplitWindow This property can work in different windows depending on the value of ActiveWindow

Syntax

Unit: FlexCel.Core

procedure TExcelFile.SplitWindow(const xOffset: Integer; const yOffset: Integer); virtual; abstract;

Parameters

<-> Parameter Type Description
const xOffset Integer Offset from the left on 1/20 of a point. Zero for no vertical split.
const yOffset Integer Offset from the top on 1/20 of a point. Zero for no horizontal split.

See also