Table of Contents

TXlsFile.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 TExcelFile.FreezePanes the windows are unsplitted and vice-versa See also TExcelFile.GetSplitWindow This property can work in different windows depending on the value of TExcelFile.ActiveWindow

Syntax

Unit: FlexCel.XlsAdapter

procedure TXlsFile.SplitWindow(const xOffset: Integer; const yOffset: Integer); override;

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