## BuiltInDocumentPropertyCollection class

A collection of built-in document properties.

```csharp
public class BuiltInDocumentPropertyCollection : DocumentPropertyCollection
```

## Properties

| Name | Description |
| --- | --- |
| [Author](../../aspose.cells.properties/builtindocumentpropertycollection/author/) { get; set; } | Gets or sets the name of the document's author. |
| [Bytes](../../aspose.cells.properties/builtindocumentpropertycollection/bytes/) { get; set; } | (**Obsolete.**) Represents an estimate of the number of bytes in the document. |
| [Capacity](../../aspose.cells/collectionbase-1/capacity/) { get; set; } |  |
| [Category](../../aspose.cells.properties/builtindocumentpropertycollection/category/) { get; set; } | Gets or sets the category of the document. |
| [Characters](../../aspose.cells.properties/builtindocumentpropertycollection/characters/) { get; set; } | (**Obsolete.**) Represents an estimate of the number of characters in the document. |
| [CharactersWithSpaces](../../aspose.cells.properties/builtindocumentpropertycollection/characterswithspaces/) { get; set; } | (**Obsolete.**) Represents an estimate of the number of characters (including spaces) in the document. |
| [Comments](../../aspose.cells.properties/builtindocumentpropertycollection/comments/) { get; set; } | Gets or sets the document comments. |
| [Company](../../aspose.cells.properties/builtindocumentpropertycollection/company/) { get; set; } | Gets or sets the company property. |
| [ContentStatus](../../aspose.cells.properties/builtindocumentpropertycollection/contentstatus/) { get; set; } | Gets or sets the content status of the document. |
| [ContentType](../../aspose.cells.properties/builtindocumentpropertycollection/contenttype/) { get; set; } | Gets or sets the content type of the document. |
| [Count](../../aspose.cells/collectionbase-1/count/) { get; } |  |
| [CreatedTime](../../aspose.cells.properties/builtindocumentpropertycollection/createdtime/) { get; set; } | Gets or sets date of the document creation in local timezone. |
| [CreatedUniversalTime](../../aspose.cells.properties/builtindocumentpropertycollection/createduniversaltime/) { get; set; } | Gets or sets the Universal time of the document creation. |
| [DocumentVersion](../../aspose.cells.properties/builtindocumentpropertycollection/documentversion/) { get; set; } | Represents the version of the file. |
| [HyperlinkBase](../../aspose.cells.properties/builtindocumentpropertycollection/hyperlinkbase/) { get; set; } | Gets or sets the hyperlinkbase property. |
| [Item](../../aspose.cells.properties/documentpropertycollection/item/) { get; } | Returns a [`DocumentProperty`](../documentproperty/) object by index.(Inherited from [`DocumentPropertyCollection`](../documentpropertycollection/).) |
| [Item](../../aspose.cells/collectionbase-1/item/) { get; set; } |  |
| override [Item](../../aspose.cells.properties/builtindocumentpropertycollection/item/) { get; } | Returns a [`DocumentProperty`](../documentproperty/) object by the name of the property. |
| [Keywords](../../aspose.cells.properties/builtindocumentpropertycollection/keywords/) { get; set; } | Gets or sets the document keywords. |
| [Language](../../aspose.cells.properties/builtindocumentpropertycollection/language/) { get; set; } | Gets or sets the document's language. |
| [LastPrinted](../../aspose.cells.properties/builtindocumentpropertycollection/lastprinted/) { get; set; } | Gets or sets the date when the document was last printed in local timezone. |
| [LastPrintedUniversalTime](../../aspose.cells.properties/builtindocumentpropertycollection/lastprinteduniversaltime/) { get; set; } | Gets or sets the Universal time when the document was last printed. |
| [LastSavedBy](../../aspose.cells.properties/builtindocumentpropertycollection/lastsavedby/) { get; set; } | Gets or sets the name of the last author. |
| [LastSavedTime](../../aspose.cells.properties/builtindocumentpropertycollection/lastsavedtime/) { get; set; } | Gets or sets the time of the last save in local timezone. |
| [LastSavedUniversalTime](../../aspose.cells.properties/builtindocumentpropertycollection/lastsaveduniversaltime/) { get; set; } | Gets or sets the universal time of the last save. |
| [Lines](../../aspose.cells.properties/builtindocumentpropertycollection/lines/) { get; set; } | (**Obsolete.**) Represents an estimate of the number of lines in the document. |
| [LinksUpToDate](../../aspose.cells.properties/builtindocumentpropertycollection/linksuptodate/) { get; set; } | Indicates whether hyperlinks in a document are up-to-date. |
| [Manager](../../aspose.cells.properties/builtindocumentpropertycollection/manager/) { get; set; } | Gets or sets the manager property. |
| [NameOfApplication](../../aspose.cells.properties/builtindocumentpropertycollection/nameofapplication/) { get; set; } | Gets or sets the name of the application. |
| [Pages](../../aspose.cells.properties/builtindocumentpropertycollection/pages/) { get; set; } | Represents an estimate of the number of pages in the document. |
| [Paragraphs](../../aspose.cells.properties/builtindocumentpropertycollection/paragraphs/) { get; set; } | (**Obsolete.**) Represents an estimate of the number of paragraphs in the document. |
| [RevisionNumber](../../aspose.cells.properties/builtindocumentpropertycollection/revisionnumber/) { get; set; } | Gets or sets the document revision number. |
| [ScaleCrop](../../aspose.cells.properties/builtindocumentpropertycollection/scalecrop/) { get; set; } | Indicates the display mode of the document thumbnail. |
| [Subject](../../aspose.cells.properties/builtindocumentpropertycollection/subject/) { get; set; } | Gets or sets the subject of the document. |
| [Template](../../aspose.cells.properties/builtindocumentpropertycollection/template/) { get; set; } | Gets or sets the informational name of the document template. |
| [Title](../../aspose.cells.properties/builtindocumentpropertycollection/title/) { get; set; } | Gets or sets the title of the document. |
| [TotalEditingTime](../../aspose.cells.properties/builtindocumentpropertycollection/totaleditingtime/) { get; set; } | Gets or sets the total editing time in minutes. |
| [Version](../../aspose.cells.properties/builtindocumentpropertycollection/version/) { get; set; } | Represents the version number of the application that created the document. |
| [Words](../../aspose.cells.properties/builtindocumentpropertycollection/words/) { get; set; } | Represents an estimate of the number of words in the document. |

## Methods

| Name | Description |
| --- | --- |
| [BinarySearch](../../aspose.cells/collectionbase-1/binarysearch/)(DocumentProperty) |  |
| [BinarySearch](../../aspose.cells/collectionbase-1/binarysearch/)(DocumentProperty, IComparer&lt;DocumentProperty&gt;) |  |
| [BinarySearch](../../aspose.cells/collectionbase-1/binarysearch/)(int, int, DocumentProperty, IComparer&lt;DocumentProperty&gt;) |  |
| [Clear](../../aspose.cells/collectionbase-1/clear/)() |  |
| [Contains](../../aspose.cells/collectionbase-1/contains/)(DocumentProperty) |  |
| [Contains](../../aspose.cells.properties/documentpropertycollection/contains/)(string) | Returns true if a property with the specified name exists in the collection.(Inherited from [`DocumentPropertyCollection`](../documentpropertycollection/).) |
| [CopyTo](../../aspose.cells/collectionbase-1/copyto/)(DocumentProperty[]) |  |
| [CopyTo](../../aspose.cells/collectionbase-1/copyto/)(DocumentProperty[], int) |  |
| [CopyTo](../../aspose.cells/collectionbase-1/copyto/)(int, DocumentProperty[], int, int) |  |
| [Exists](../../aspose.cells/collectionbase-1/exists/)(Predicate&lt;DocumentProperty&gt;) |  |
| [Find](../../aspose.cells/collectionbase-1/find/)(Predicate&lt;DocumentProperty&gt;) |  |
| [FindAll](../../aspose.cells/collectionbase-1/findall/)(Predicate&lt;DocumentProperty&gt;) |  |
| [FindIndex](../../aspose.cells/collectionbase-1/findindex/)(Predicate&lt;DocumentProperty&gt;) |  |
| [FindIndex](../../aspose.cells/collectionbase-1/findindex/)(int, Predicate&lt;DocumentProperty&gt;) |  |
| [FindIndex](../../aspose.cells/collectionbase-1/findindex/)(int, int, Predicate&lt;DocumentProperty&gt;) |  |
| [FindLast](../../aspose.cells/collectionbase-1/findlast/)(Predicate&lt;DocumentProperty&gt;) |  |
| [FindLastIndex](../../aspose.cells/collectionbase-1/findlastindex/)(Predicate&lt;DocumentProperty&gt;) |  |
| [FindLastIndex](../../aspose.cells/collectionbase-1/findlastindex/)(int, Predicate&lt;DocumentProperty&gt;) |  |
| [FindLastIndex](../../aspose.cells/collectionbase-1/findlastindex/)(int, int, Predicate&lt;DocumentProperty&gt;) |  |
| [GetEnumerator](../../aspose.cells/collectionbase-1/getenumerator/)() |  |
| [IndexOf](../../aspose.cells/collectionbase-1/indexof/)(DocumentProperty) |  |
| [IndexOf](../../aspose.cells.properties/documentpropertycollection/indexof/)(string) | Gets the index of a property by name.(Inherited from [`DocumentPropertyCollection`](../documentpropertycollection/).) |
| [IndexOf](../../aspose.cells/collectionbase-1/indexof/)(DocumentProperty, int) |  |
| [IndexOf](../../aspose.cells/collectionbase-1/indexof/)(DocumentProperty, int, int) |  |
| [LastIndexOf](../../aspose.cells/collectionbase-1/lastindexof/)(DocumentProperty) |  |
| [LastIndexOf](../../aspose.cells/collectionbase-1/lastindexof/)(DocumentProperty, int) |  |
| [LastIndexOf](../../aspose.cells/collectionbase-1/lastindexof/)(DocumentProperty, int, int) |  |
| [Remove](../../aspose.cells.properties/documentpropertycollection/remove/)(string) | Removes a property with the specified name from the collection.(Inherited from [`DocumentPropertyCollection`](../documentpropertycollection/).) |
| [RemoveAt](../../aspose.cells.properties/documentpropertycollection/removeat/)(int) | Removes a property at the specified index. (2 methods) |

### Remarks

Provides access to [`DocumentProperty`](../documentproperty/) objects by their names (using an indexer) and via a set of typed properties that return values of appropriate types.

### Examples

```csharp
namespace AsposeCellsExamples
{
    using Aspose.Cells;
    using Aspose.Cells.Properties;
    using System;

    public class BuiltInDocumentPropertyCollectionDemo
    {
        public static void BuiltInDocumentPropertyCollectionExample()
        {
            // Create a new workbook
            Workbook workbook = new Workbook();

            // Add a new worksheet to the workbook
            Worksheet worksheet = workbook.Worksheets[0];

            // Add sample data for test
            worksheet.Cells["A1"].PutValue(1);
            worksheet.Cells["A2"].PutValue(2);
            worksheet.Cells["A3"].PutValue(3);
            worksheet.Cells["B1"].PutValue(2);
            worksheet.Cells["B2"].PutValue(3);
            worksheet.Cells["B3"].PutValue(4);
            worksheet.Cells["C1"].PutValue(5);
            worksheet.Cells["C2"].PutValue(10);
            worksheet.Cells["C3"].PutValue(15);

            // Access the built-in document properties collection
            BuiltInDocumentPropertyCollection builtInProperties = workbook.BuiltInDocumentProperties;

            // Set various built-in document properties
            builtInProperties.Author = "John Doe";
            builtInProperties.Title = "Sample Workbook";
            builtInProperties.Subject = "Demo";
            builtInProperties.Keywords = "Aspose.Cells, Demo";
            builtInProperties.Comments = "This is a sample workbook created for demonstration purposes.";
            builtInProperties.Company = "Aspose";
            builtInProperties.Category = "Demo Category";
            builtInProperties.ContentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
            builtInProperties.ContentStatus = "Draft";
            builtInProperties.Language = "en-US";
            builtInProperties.Manager = "Jane Smith";
            builtInProperties.Template = "Standard Template";
            builtInProperties.RevisionNumber = "1";
            builtInProperties.Version = "1.0";
            builtInProperties.DocumentVersion = "1.0";
            builtInProperties.ScaleCrop = true;
            builtInProperties.LinksUpToDate = true;

            // Set date and time properties
            builtInProperties.CreatedTime = DateTime.Now;
            builtInProperties.CreatedUniversalTime = DateTime.UtcNow;
            builtInProperties.LastPrinted = DateTime.Now;
            builtInProperties.LastPrintedUniversalTime = DateTime.UtcNow;
            builtInProperties.LastSavedTime = DateTime.Now;
            builtInProperties.LastSavedUniversalTime = DateTime.UtcNow;

            // Set numeric properties            
            builtInProperties.Pages = 10;
            builtInProperties.Words = 100;
            builtInProperties.TotalEditingTime = 60.0;

            // Save the workbook
            workbook.Save("BuiltInDocumentPropertyCollectionExample.xlsx");
            workbook.Save("BuiltInDocumentPropertyCollectionExample.pdf");

        }
    }
}
```

### See Also

* class [DocumentPropertyCollection](../documentpropertycollection/)
* namespace [Aspose.Cells.Properties](../../aspose.cells.properties/)
* assembly [Aspose.Cells](../../)


