Search Results for

    Show / Hide Table of Contents

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

    • ExcelFile
    In This Article
    Back to top FlexCel Studio for the .NET Framework v7.24.0.0
    © 2002 - 2025 tmssoftware.com