Search Results for

    Show / Hide Table of Contents

    TExcelFile.CellRangeDimensions Method

    Returns the height and width that would be used by a range of cells (in Points, or 1/72 inches).

    Syntax

    Unit: FlexCel.Core

    function TExcelFile.CellRangeDimensions(const row1: Integer; const col1: Integer; const row2: Integer; const col2: Integer; const includeMargins: Boolean): TUIRectangle; virtual; abstract;

    Parameters

    <-> Parameter Type Description
    const row1 Integer First row (1 based). If you use a value less or equal than 0 here, this method will return the full sheet dimensions.
    const col1 Integer First column (1 based). If you use a value less or equal than 0 here, this method will return the full sheet dimensions.
    const row2 Integer Last row (1 based). If you use a value less or equal than 0 here, this method will return the full sheet dimensions.
    const col2 Integer Last column (1 based). If you use a value less or equal than 0 here, this method will return the full sheet dimensions.
    const includeMargins Boolean If true, the dimensions reported will include all margins in the sheet.

    See also

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