Share via


columnCount property

Gets or sets the optimal number of columns in a multi-column element.

This property is read/write.

 

Syntax

HRESULT put_columnCount(
  [in]          BSTR v
);

HRESULT get_columnCount(
  [out, retval] BSTR *p
);

Property values

Type: BSTR

The number of columns.

String format

count| auto

CSS information

Applies To non-replaced block-level elements (except table elements), table cells, and inline-block elements
Media visual
Inherited no
Initial Value auto

Remarks

The actual column count may vary from the value specified due to available space.

To ensure the specified value is used, all length property values of the multi-column element must be specified.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll