Spread 8.0 Documentation
SSGetValueLen Function
Support Options
DLL Reference > DLL Functions > SSGetValueLen Function

Glossary Item Box

SSGetValueLen Function


See Also

Applies To

fpSpread DLL control

Description

Returns the length of unformatted text in a cell.

Syntax

C

int SSGetValueLen(HWND hWnd, SS_COORD Col, SS_COORD Row);

C++

int TSpread::GetValueLen(SS_COORD Col, SS_COORD Row);

Parameters

The following parameters are available:

Parameter Description
hWnd Window handle of the fpSpread control
Col Column number of cell
Row Row number of cell

Remarks

This function is applied to the current sheet setting unless you first call the SSSetSheet function to specify the sheet for which you are calling this function.

The following cell types can contain unformatted text: button, check box, combo box, currency, date, number, percent, PIC, and time.

Use the SSSetValue function to add unformatted data to a cell.

Refer to Formatted and Unformatted Data for more information about formatted versus unformatted data.

Return Value

Length of value if successful; zero otherwise.

See Also

SSGetValue, SSSetSheet, SSSetValue functions

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.