MetadataOptions

MetadataOptions class

Represents the options of loading metadata of the file.

class MetadataOptions;

Constructors

NameDescription
constructor(MetadataType)Creates an options of loading the metadata.

Methods

MethodDescription
getMetadataType()Gets and sets the type of the metadata which is loading.
getPassword()Represents Workbook file encryption password.
setPassword(string)Represents Workbook file encryption password.
getKeyLength()The key length.
setKeyLength(number)The key length.
isNull()Checks whether the implementation object is null.

constructor(MetadataType)

Creates an options of loading the metadata.

constructor(metadataType: MetadataType);

Parameters:

ParameterTypeDescription
metadataTypeMetadataTypeThe type of metadata.

getMetadataType()

Gets and sets the type of the metadata which is loading.

getMetadataType() : MetadataType;

Returns

MetadataType

getPassword()

Represents Workbook file encryption password.

getPassword() : string;

setPassword(string)

Represents Workbook file encryption password.

setPassword(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

getKeyLength()

The key length.

getKeyLength() : number;

setKeyLength(number)

The key length.

setKeyLength(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

isNull()

Checks whether the implementation object is null.

isNull() : boolean;