Search Results for

    Show / Hide Table of Contents

    TExcelFile.AddLabel Method

    Adds a Label to the active sheet.

    Remarks

    Excel supports 2 types of labels: ActiveX and internal (In Excel you would add them from the "ActiveX" and "Forms" toolbars respectively) The labels added by this method are of type internal. ActiveX labels are not supported.

    Syntax

    Unit: FlexCel.Core

    function TExcelFile.AddLabel(const anchor: TClientAnchor; const text: TRichString; const name: string): Integer; virtual; abstract;

    Parameters

    <-> Parameter Type Description
    const anchor TClientAnchor Position for the label.
    const text TRichString Text for the label.
    const name string Name of the inserted label.

    Returns

    Object Index of the inserted listbox (1 based).

    See also

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