Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter EightData Functions (continued)

DataSheetSetRowHeight Function

Overview

The DataSheetSetRowHeight function sets a fixed height for a specified row.

Syntax/Parameters

Syntax

int = DataSheetSetRowHeight ( handle hSheet, int index, dword height | string value );

Parameters

hSheet

A handle to a Data Sheet object.

index

A zero-based int representing the row index.

height

A 32-bit dword containing specifying the height as in default units (pixels) or as a PVALUE. Or,

value

A string as a CSS style measurement.

Return Value

Returns an int as the default units height set or a formatted error code on failure.

Remarks

If the height parameter does not have PVALUE units (top bits set, PT_MASK), then the value is set as default units (pixels) and the internal PVALUE is set to PT_PX | height * 100. If the units are set, then the type is tested and if a valid measurement, converted to default units.

The value parameter allows for a CSS style measurement to be specified.

If the row array has not been allocated, it is created.

Row heights are not calculated. Use the DataSheetMeasureSheet function to force all position to update.

Related Functions

Platform Support

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

Legato IDE, Legato Basic

Page revised 2024-12-13