Class MetadataHandler
Handler for performing simple operations with text metadata.
Constructors
(constructor)(tw)
Constructs a new instance of the MetadataHandler
class
Declaration
constructor(tw: ITextWhizzHolder);
Parameters
Methods
createMetadata(properties)
Declaration
createMetadata(properties: IMetadataProperty[]): IMetadata;
Parameters
Returns
deleteMetadata(index)
Declaration
deleteMetadata(index: number): void;
Parameters
Type |
Name |
Description |
number |
index |
|
Returns
getMetadata(index)
Declaration
getMetadata(index: number): IMetadata | null;
Parameters
Type |
Name |
Description |
number |
index |
|
Returns
isMetadataExists(index)
Declaration
isMetadataExists(index: number): boolean;
Parameters
Type |
Name |
Description |
number |
index |
|
Returns
setMetadata(index, metadata)
Declaration
setMetadata(index: number, metadata: IMetadata): void;
Parameters
Type |
Name |
Description |
number |
index |
|
IMetadata |
metadata |
|
Returns