Return or set the classic XLS workbook window position and size. Read/write Integer.
Syntax
property XWindow: Integer;
property YWindow: Integer;
property WindowWidth: Integer;
property WindowHeight: Integer;
Remarks
These properties map to the workbook window coordinates and dimensions saved in the BIFF WINDOW1 record. Values must fit the unsigned 16-bit BIFF storage range. Use
WindowHidden and
Minimized for window state flags.
Example
This example saves a workbook window position and size.
Workbook.XWindow := 240;
Workbook.YWindow := 120;
Workbook.WindowWidth := 9000;
Workbook.WindowHeight := 6000;