TProtectedRange.Create Method
Overloads
TProtectedRange.Create
Creates an empty protected range.
Syntax
Unit: FlexCel.Core
class function TProtectedRange.Create: TProtectedRange; static; overload;
See also
TProtectedRange.Create(string, string, TXlsCellRangeArray)
Creates and initializes a protected range.
Syntax
Unit: FlexCel.Core
class function TProtectedRange.Create(const aName: string; const aPassword: string; const aRanges: TArray<TXlsCellRange>): TProtectedRange; static; overload;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | aName | string | Name for the protected range. |
const | aPassword | string | Password to modify the cells. Keep it null if you don't want to set a password. |
const | aRanges | TArray<TXlsCellRange> | Ranges of cells where this protected range applies. You might pass an array of TXlsCellRanges here or just a single TXlsCellRange object. |