Search Results for

    Show / Hide Table of Contents

    ExcelFile.AddScrollBar Method

    Adds a ScrollBar to the active sheet.

    Remarks

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

    Syntax

    Namespace: FlexCel.Core

    public abstract Int32 AddScrollBar(TClientAnchor anchor, String name, TCellAddress linkedCell, TSpinProperties spinProps)

    Parameters

    <-> Parameter Type Description
    anchor TClientAnchor Position for the ScrollBar.
    name String Name of the inserted ScrollBar.
    linkedCell TCellAddress Cell that will be linked to the ScrollBar. Set this to null to not link any cell.
    spinProps TSpinProperties Properties for the ScrollBar.

    Returns

    Object Index of the inserted ScrollBar (1 based).

    See also

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