IHTMLTableCell::colSpan Property

Sets or retrieves the number columns in the table that the object should span.

Syntax

HRESULT IHTMLTableCell::get_colSpan(long *p);
HRESULT IHTMLTableCell::put_colSpan(long v);

Parameters

  • p
    Pointer to a variable of type long that receives the number of columns to span.
  • v
    long that specifies the number of columns to span.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

This property can be changed only after the page has been loaded.

Windows Internet Explorer 8 will only render tables up to 1000 columns. To force Internet Explorer 7 rendering mode, see How Do I Take Advantage of the New Features in Internet Explorer 8.