Table of Contents

TSheetProtectionOptions.Create Method

Overloads

TSheetProtectionOptions.Create

Initializes a not protected block.

Syntax

Unit: FlexCel.Core

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

See also

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.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