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

Glossary Item Box

SSRemoveCellSpan Function


See Also    ActiveX

Applies To

fpSpread DLL control

Description

Removes the span from the range of cells that contain the specified anchor cell.

Syntax

C

void SSRemoveCellSpan(HWND hWnd, SS_COORD lCol, SS_COORD lRow);

C++

void TSpread::RemoveCellSpan(SS_COORD lCol, SS_COORD lRow);

Parameters

This function has the following parameters:

Parameter Description
hWnd Window handle of the fpSpread control
lCol Column number of anchor cell of span to remove
lRow Row number of anchor cell of span to remove

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.

You can remove a span range by calling this function, specifying the anchor cell of the span range to remove the range.

When you remove a span range, the data that was previously in each of the cells in the span is re-displayed in the cell. The data was never removed from the cell, but simply hidden by the span range. Also, the cell types of the cells combined in the span are not changed.

Create a span of cells by calling the SSAddCellSpan function. Return whether a cell is in a span range, and the size of the range if it is in one, by calling the SSGetCellSpan function.

Return Value

None

See Also

Spanning Cells

SSAddCellSpan, SSGetCellSpan, SSSetSheet functions

ActiveX Correspondence

RemoveCellSpan method

Copyright © GrapeCity, inc. All rights reserved.