Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter EighteenDataView Integration (continued)

DataViewSelectRegion Function

Overview

The DataViewSelectRegion function selects a region of cells.

Syntax/Parameters

Syntax

int = DataViewSelectRegion ( handle object, int start_row, int start_column,
                                        int end_row, int end_column );

Parameters

object

A handle either to a Data View Object or to a window that employs Data View.

start_row  start_column

Two ints specifying the zero-based index of the start of the area by row and column to test. This is the upper left position in the sheet matrix.

end_row  end_column

Two ints specifying the zero-based index of the end of the area by row and column to test. This is the lower right position in the sheet matrix.

Return Value

Returns an int as ERROR_NONE or a formatted error code on failure.

The row and column end points are inclusive. Therefore, 3:3 by 4:4 expresses a matrix of 2 x 2 cells.

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL