Search Results for

    Show / Hide Table of Contents

    TSheetProtectionOptions.Create Method

    Overloads

    • TSheetProtectionOptions.Create
    • TSheetProtectionOptions.Create(Boolean)
    • TSheetProtectionOptions.Create(TProtectionType)

    TSheetProtectionOptions.Create

    Initializes a not protected block.

    Syntax

    Unit: FlexCel.Core

    class function TSheetProtectionOptions.Create: TSheetProtectionOptions; static; overload;

    See also

    • TSheetProtectionOptions

    TSheetProtectionOptions.Create(Boolean)

    Creates a protected or unprotected sheet.

    Syntax

    Unit: FlexCel.Core

    class function TSheetProtectionOptions.Create(const allTrue: Boolean): TSheetProtectionOptions; static; overload;

    Parameters

    <-> Parameter Type Description
    const allTrue Boolean If true, all properties on this class will be set to true.
    This means cells on the sheet will be protected, and things like Cell formatting will be not.
    If false, all properties will be set to false.

    See also

    • TSheetProtectionOptions

    TSheetProtectionOptions.Create(TProtectionType)

    Creates a protected or unprotected sheet.

    Syntax

    Unit: FlexCel.Core

    class function TSheetProtectionOptions.Create(const protectAll: TProtectionType): TSheetProtectionOptions; static; overload;

    Parameters

    <-> Parameter Type Description
    const protectAll TProtectionType If true, all things in the sheet will be protected. this means a property like Contents will be true, and others like CellFormatting will be false.
    If false, nothing will.

    See also

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