Search Results for

    Show / Hide Table of Contents

    ExcelFile.GetRowHeight Method

    Overloads

    • ExcelFile.GetRowHeight(Int32)
    • ExcelFile.GetRowHeight(Int32, Boolean)
    • ExcelFile.GetRowHeight(Int32, Int32, Boolean)

    ExcelFile.GetRowHeight(Int32)

    Returns the current Row height, in Excel internal units. (1/20th of a point)

    Remarks

    Use FlxConsts.RowMult to convert the internal units to pixels.

    Syntax

    Namespace: FlexCel.Core

    public abstract Int32 GetRowHeight(Int32 row)

    Parameters

    <-> Parameter Type Description
    row Int32 Row Index (1 based)

    Returns

    Row height in internal excel units.

    Examples

        double RowHeightInPixels = xls.GetRowHeight(Row) / FlxConsts.RowMult;
    

    See also

    • ExcelFile

    ExcelFile.GetRowHeight(Int32, Boolean)

    Returns the current Row height, in Excel internal units. (1/20th of a point)

    Remarks

    Use FlxConsts.RowMult to convert the internal units to pixels.

    Syntax

    Namespace: FlexCel.Core

    public Int32 GetRowHeight(Int32 row, Boolean HiddenIsZero)

    Parameters

    <-> Parameter Type Description
    row Int32 Row Index (1 based)
    HiddenIsZero Boolean If true, the height returned for a hidden row will be 0 and not its real height.

    Returns

    Row height in internal excel units.

    Examples

        double RowHeightInPixels = xls.GetRowHeight(Row) / FlxConsts.RowMult;
    

    See also

    • ExcelFile

    ExcelFile.GetRowHeight(Int32, Int32, Boolean)

    Returns the current Row height for a given sheet, in Excel internal units. (1/20th of a point)

    Remarks

    Use FlxConsts.RowMult to convert the internal units to pixels.

    Syntax

    Namespace: FlexCel.Core

    public abstract Int32 GetRowHeight(Int32 sheet, Int32 row, Boolean HiddenIsZero)

    Parameters

    <-> Parameter Type Description
    sheet Int32 Sheet where to look for the height.
    row Int32 Row Index (1 based)
    HiddenIsZero Boolean If true, the height returned for a hidden row will be 0 and not its real height.

    Returns

    Row height in internal Excel units.(1/20th of a point)

    Examples

        double RowHeightInPixels = xls.GetRowHeight(Row) / FlxConsts.RowMult;
    

    See also

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