Search Results for

    Show / Hide Table of Contents

    TXlsFile.ConditionallyModifyFormat Method

    Modifies the format of the specified cell if it has a conditional format active. Returns a modified format with the applied conditional format if there was any change, null otherwise.

    Syntax

    Unit: FlexCel.XlsAdapter

    function TXlsFile.ConditionallyModifyFormat(const format: TFlxFormat; const row: Integer; const col: Integer; const includeTables: Boolean; out ExtraInfo: IDrawingConditionalFormat): TFlxFormat; overload; override;

    Parameters

    <-> Parameter Type Description
    const format TFlxFormat Original format of the cell.
    const row Integer Row of the cell (1 based)
    const col Integer Column of the cell (1 based)
    const includeTables Boolean If true and the cell is inside a table, the format for the table will be also taken in account.
    out ExtraInfo IDrawingConditional​Format

    Returns

    If the format is modified by a conditional format, it returns the new format. If there are no changes returns null, to avoid creating new instances of TFlxFormat.

    See also

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