Table of Contents

ExcelMetrics.ColMult Method

Multiply by this number to convert the width of a column from resolution-independent-pixels (1/96 of an inch) to excel internal units. Note that the default column width is different, you need to multiply by DefColWidthAdapt See Excel Internal Units for more information in Excel internal units.

Syntax

Namespace: FlexCel.Core

public static Double ColMult(IRowColSize Workbook)

Parameters

<-> Parameter Type Description
Workbook IRowColSize

Examples

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

See also