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

Glossary Item Box

SSGetDataLen Function


See Also

Applies To

fpSpread DLL control

Description

Returns the length (number of characters) of the data in a cell, a column, a row, or the entire sheet.

Syntax

C

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

C++

int TSpread::GetDataLen(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
(Value can be SS_HEADER or SS_ALLCOLS.)
Row Row number of cell
(Value can be SS_HEADER or SS_ALLROWS.)

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.

Return Value

Number of characters of the data.

Note: Characters and bytes are not equivalent in Unicode.

See Also

SSSetSheet function

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