Search Results for

    Show / Hide Table of Contents

    TExcelMetrics.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

    Unit: FlexCel.Core

    class function TExcelMetrics.ColMult(const Workbook: IRowColSize): Double; static;

    Parameters

    <-> Parameter Type Description
    const Workbook IRowColSize

    Examples

      ColWidthInPixels := xls.GetColWidth(Col) / TExcelMetrics.ColMult(xls);
    

    See also

    • TExcelMetrics
    In This Article
    Back to top FlexCel Studio for VCL and FireMonkey v7.24
    © 2002 - 2025 tmssoftware.com