WorkbookMetadata
Contents
[
Hide
]WorkbookMetadata class
Represents the meta data.
Constructors
| Name | Description |
|---|---|
| WorkbookMetadata | Create the meta data object. |
Properties
| Name | Type | Description |
|---|---|---|
| Options | MetadataOptions | Gets the options of the metadata. |
| BuiltInDocumentProperties | BuiltInDocumentPropertyCollection | Returns a DocumentProperty collection that represents all the built-in document properties of the spreadsheet. |
| CustomDocumentProperties | CustomDocumentPropertyCollection | Returns a DocumentProperty collection that represents all the custom document properties of the spreadsheet. |
Methods
| Name | Description |
|---|---|
| save | Save the modified metadata to the file. |
WorkbookMetadata(fileName, options)
Create the meta data object.
| Parameter | Type | Description |
|---|---|---|
| fileName | String | |
| options | MetadataOptions |
WorkbookMetadata.Options property
Gets the options of the metadata.
Type: MetadataOptions
WorkbookMetadata.BuiltInDocumentProperties property
Returns a DocumentProperty collection that represents all the built-in document properties of the spreadsheet.
Type: BuiltInDocumentPropertyCollection
WorkbookMetadata.CustomDocumentProperties property
Returns a DocumentProperty collection that represents all the custom document properties of the spreadsheet.
Type: CustomDocumentPropertyCollection
save(fileName)
Save the modified metadata to the file.
| Parameter | Type | Description |
|---|---|---|
| fileName | String | The file name. |