Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter EightData Functions (continued)

DataSheetGetColumnSpan Function

Overview

The DataSheetGetColumnSpan function returns the number of columns a cell’s area spans.

Syntax/Parameters

Syntax

int = DataSheetGetColumnSpan ( handle hSheet, int row, int column );

int = DataSheetGetColumnSpan ( handle hSheet, string row, string column );

int = DataSheetGetColumnSpan ( handle hSheet, string address );

Parameters

hSheet

A handle to a Data Sheet Object.

row

An int or string specifying a zero-based row or Y position for the cell.

column

An int or string specifying a zero-based column or X position for the cell.

address

A string specifying the cell position by cell address such as “A1”.

Return Value

Returns an int containing the number of columns spanned or a formatted error code on failure.

Remarks

The default number of spanned columns is 1..

Related Functions

Platform Support

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

Legato IDE, Legato Basic

Page revised 2024-10-21