[]
A collection of built-in document properties.
Provides access to standard workbook metadata such as author, title, subject, company, manager, application name, and other predefined document properties. Use BuiltInDocumentProperties to retrieve this collection and read or update built-in properties exposed by the workbook.
public interface IBuiltInDocumentPropertyCollection : IDocumentPropertyCollection
Public Interface IBuiltInDocumentPropertyCollection
Inherits IDocumentPropertyCollection
IWorksheet worksheet = workbook.Worksheets[0];
worksheet.Range["A1"].Value = "Quarterly Report";
IBuiltInDocumentPropertyCollection properties = workbook.BuiltInDocumentProperties;
properties.Author = "Author";
properties.Company = "Example";
properties.Title = "Quarterly Report";
string xlsxFileName = "BuiltInDocumentProperties.xlsx";
workbook.Save(xlsxFileName);
| Name | Description |
|---|---|
| Author | Gets or sets the name of the document's author. |
| Category | Gets or sets the category of the document. |
| Comments | Gets or sets the document comments. |
| Company | Gets or sets the company property. |
| ContentStatus | Gets or sets the content status of the document. |
| ContentType | Gets or sets the content type of the document. |
| CreatedDate | Gets or sets the document creation date in the local time zone. This property is not updated automatically when the document is modified. |
| DocumentVersion | Gets or sets the version of the file. |
| HyperlinkBase | Gets or sets the hyperlink base property. |
| Keywords | Gets or sets the document keywords. |
| Language | Gets or sets the document's language. |
| LastPrinted | Gets or sets the UTC time when the document was last printed. |
| LastSavedBy | Gets or sets the name of the last author who saved the document. This property is not updated automatically when the document is modified. |
| LastSavedTime | Gets or sets the time of the last save in the local time zone. This property is not updated automatically when the document is modified. |
| LinksUpToDate | Gets or sets whether hyperlinks in the document are up to date. |
| Manager | Gets or sets the manager property. |
| NameOfApplication | Gets or sets the name of the application. |
| Pages | Gets or sets an estimate of the number of pages in the document. |
| RevisionNumber | Gets or sets the revision number of the document. This property is not updated automatically when the document is modified. |
| ScaleCrop | Gets or sets the display mode of the document thumbnail. |
| Subject | Gets or sets the subject of the document. |
| Template | Gets or sets the informational name of the document template. |
| Title | Gets or sets the title of the document. |
| TotalEditingTime | Gets or sets the total editing time in minutes. |
| Words | Gets or sets an estimate of the number of words in the document. |