Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter ElevenSGML Functions (continued)

HTMLTableGetWidthValues Function

Overview

The HTMLTableGetWidthValues function returns a pvalue array with the width value for each column in the table.

Syntax/Parameters

Syntax

dword[] = HTMLTableGetWidthValues ( handle hTable );

Parameters

hTable

A handle to an HTML Table Map Object.

Return Value

Returns a dword array containing a width specification for each column in the table or an empty array on failure. Use the GetLastError function to retrieve a formatted error code.

Remarks

The string values are the processed PVALUE for each column with a cell span of one. It is possible for a table to be badly formatted and not have the same number of column widths as columns. An example would be a discrete column with all cells having a cell span of non-zero. Get the number of columns and compare it to the array size to check for a badly structured table.

Related Functions

Platform Support

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

Legato IDE, Legato Basic