Table of Contents

IRowColSize.DefaultColWidth Property

The default width for empty columns, in Excel internal units. (Character width of font 0 / 256) See Excel Internal Units for more information in Excel internal units.

Remarks

Use ExcelMetrics.ColMult to convert the internal units to pixels.

Syntax

Namespace: FlexCel.Core

public abstract Int32 DefaultColWidth { get; set; }

Examples

    double ColWidthInPixels = xls.GetColWidth(Col) / ExcelMetrics.ColMult(xls);

See also