Search Results for

    Show / Hide Table of Contents

    IShapeOptionList.AsBool Method

    Overloads

    • IShapeOptionList.AsBool(TShapeOption, Boolean)
    • IShapeOptionList.AsBool(TShapeOption, Boolean, Integer)

    IShapeOptionList.AsBool(TShapeOption, Boolean)

    Returns a bool property if it exists, otherwise the default value. This method overload automatically calculates the position in the boolean set so you don't need to specify it.

    Syntax

    Unit: FlexCel.Core

    function IShapeOptionList.AsBool(const key: TShapeOption; const Default: Boolean): Boolean; overload; virtual; abstract;

    Parameters

    <-> Parameter Type Description
    const key TShapeOption Property Name.
    const Default Boolean What to return if the property does not exist.

    See also

    • IShapeOptionList

    IShapeOptionList.AsBool(TShapeOption, Boolean, Integer)

    Returns a bool property if it exists, otherwise the default value.

    Syntax

    Unit: FlexCel.Core

    function IShapeOptionList.AsBool(const key: TShapeOption; const Default: Boolean; const PositionInSet: Integer): Boolean; overload; virtual; abstract;

    Parameters

    <-> Parameter Type Description
    const key TShapeOption Property Name.
    const Default Boolean What to return if the property does not exist.
    const PositionInSet Integer Boolean properties are grouped so all properties on one set are in only one value. So, the last bool property on the set is the first bit, and so on. ONLY THE LAST PROPERTY ON THE SET IS PRESENT.

    See also

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