BuiltInDocumentPropertyCollection
BuiltInDocumentPropertyCollection class
A collection of built-in document properties.
Properties
| Name | Type | Description |
|---|---|---|
| Language | String | Gets or sets the document’s language. |
| Author | String | Gets or sets the name of the document’s author. |
| Bytes | int | Represents an estimate of the number of bytes in the document. |
| Characters | int | Represents an estimate of the number of characters in the document. |
| CharactersWithSpaces | int | Represents an estimate of the number of characters (including spaces) in the document. |
| Comments | String | Gets or sets the document comments. |
| Category | String | Gets or sets the category of the document. |
| ContentType | String | Gets or sets the content type of the document. |
| ContentStatus | String | Gets or sets the content status of the document. |
| Company | String | Gets or sets the company property. |
| HyperlinkBase | String | Gets or sets the hyperlinkbase property. |
| CreatedTime | DateTime | Gets or sets date of the document creation in local timezone. Aspose.Cells does not update this property when you modify |
| CreatedUniversalTime | DateTime | Gets or sets the Universal time of the document creation. Aspose.Cells does not update this property when you modify the |
| Keywords | String | Gets or sets the document keywords. |
| LastPrinted | DateTime | Gets or sets the date when the document was last printed in local timezone. If the document was never printed, this prop |
| LastPrintedUniversalTime | DateTime | Gets or sets the Universal time when the document was last printed. |
| LastSavedBy | String | Gets or sets the name of the last author. Aspose.Cells does not update this property when you modify the document. |
| LastSavedTime | DateTime | Gets or sets the time of the last save in local timezone. Aspose.Cells does not update this property when you modify the |
| LastSavedUniversalTime | DateTime | Gets or sets the universal time of the last save. Aspose.Cells does not update this property when you modify the documen |
| Lines | int | Represents an estimate of the number of lines in the document. Aspose.Cells does not update this property when you modif |
| Manager | String | Gets or sets the manager property. |
| NameOfApplication | String | Gets or sets the name of the application. |
| Pages | int | Represents an estimate of the number of pages in the document. |
| Paragraphs | int | Represents an estimate of the number of paragraphs in the document. |
| RevisionNumber | String | Gets or sets the document revision number. Aspose.Cells does not update this property when you modify the document. |
| Subject | String | Gets or sets the subject of the document. |
| Template | String | Gets or sets the informational name of the document template. |
| Title | String | Gets or sets the title of the document. |
| TotalEditingTime | float | Gets or sets the total editing time in minutes. |
| Version | String | Represents the version number of the application that created the document. It’s format is “00.0000”,for example : 12.00 |
| DocumentVersion | String | Represents the version of the file. |
| ScaleCrop | boolean | Indicates the display mode of the document thumbnail. |
| LinksUpToDate | boolean | Indicates whether hyperlinks in a document are up-to-date. |
| Words | int | Represents an estimate of the number of words in the document. |
| Count | int | |
| Item (java.lang.String) | DocumentProperty | Returns a DocumentProperty object by the name of the property. The string names of the properties correspond to the name |
| Item (int) | DocumentProperty | Returns a DocumentProperty object by index. |
Methods
| Name | Description |
|---|---|
| contains | Returns true if a property with the specified name exists in the collection. |
| indexOf | Gets the index of a property by name. |
| remove | Removes a property with the specified name from the collection. |
| removeAt | Removes a property at the specified index. |
| clear | |
| iterator | |
| get | Reserved for internal use. |
| add | Reserved for internal use. |
BuiltInDocumentPropertyCollection.Language property
Gets or sets the document’s language.
Type: String
BuiltInDocumentPropertyCollection.Author property
Gets or sets the name of the document’s author.
Type: String
BuiltInDocumentPropertyCollection.Bytes property
Represents an estimate of the number of bytes in the document.
Type: int
BuiltInDocumentPropertyCollection.Characters property
Represents an estimate of the number of characters in the document.
Type: int
BuiltInDocumentPropertyCollection.CharactersWithSpaces property
Represents an estimate of the number of characters (including spaces) in the document.
Type: int
BuiltInDocumentPropertyCollection.Comments property
Gets or sets the document comments.
Type: String
BuiltInDocumentPropertyCollection.Category property
Gets or sets the category of the document.
Type: String
BuiltInDocumentPropertyCollection.ContentType property
Gets or sets the content type of the document.
Type: String
BuiltInDocumentPropertyCollection.ContentStatus property
Gets or sets the content status of the document.
Type: String
BuiltInDocumentPropertyCollection.Company property
Gets or sets the company property.
Type: String
BuiltInDocumentPropertyCollection.HyperlinkBase property
Gets or sets the hyperlinkbase property.
Type: String
BuiltInDocumentPropertyCollection.CreatedTime property
Gets or sets date of the document creation in local timezone. Aspose.Cells does not update this property when you modify the document.
Type: DateTime
BuiltInDocumentPropertyCollection.CreatedUniversalTime property
Gets or sets the Universal time of the document creation. Aspose.Cells does not update this property when you modify the document.
Type: DateTime
BuiltInDocumentPropertyCollection.Keywords property
Gets or sets the document keywords.
Type: String
BuiltInDocumentPropertyCollection.LastPrinted property
Gets or sets the date when the document was last printed in local timezone. If the document was never printed, this property will return DateTime.MinValue. Aspose.Cells does not update this property when you modify the document.
Type: DateTime
BuiltInDocumentPropertyCollection.LastPrintedUniversalTime property
Gets or sets the Universal time when the document was last printed.
Type: DateTime
BuiltInDocumentPropertyCollection.LastSavedBy property
Gets or sets the name of the last author. Aspose.Cells does not update this property when you modify the document.
Type: String
BuiltInDocumentPropertyCollection.LastSavedTime property
Gets or sets the time of the last save in local timezone. Aspose.Cells does not update this property when you modify the document.
Type: DateTime
BuiltInDocumentPropertyCollection.LastSavedUniversalTime property
Gets or sets the universal time of the last save. Aspose.Cells does not update this property when you modify the document.
Type: DateTime
BuiltInDocumentPropertyCollection.Lines property
Represents an estimate of the number of lines in the document. Aspose.Cells does not update this property when you modify the document.
Type: int
BuiltInDocumentPropertyCollection.Manager property
Gets or sets the manager property.
Type: String
BuiltInDocumentPropertyCollection.NameOfApplication property
Gets or sets the name of the application.
Type: String
BuiltInDocumentPropertyCollection.Pages property
Represents an estimate of the number of pages in the document.
Type: int
BuiltInDocumentPropertyCollection.Paragraphs property
Represents an estimate of the number of paragraphs in the document.
Type: int
BuiltInDocumentPropertyCollection.RevisionNumber property
Gets or sets the document revision number. Aspose.Cells does not update this property when you modify the document.
Type: String
BuiltInDocumentPropertyCollection.Subject property
Gets or sets the subject of the document.
Type: String
BuiltInDocumentPropertyCollection.Template property
Gets or sets the informational name of the document template.
Type: String
BuiltInDocumentPropertyCollection.Title property
Gets or sets the title of the document.
Type: String
BuiltInDocumentPropertyCollection.TotalEditingTime property
Gets or sets the total editing time in minutes.
Type: float
BuiltInDocumentPropertyCollection.Version property
Represents the version number of the application that created the document. It’s format is “00.0000”,for example : 12.0000
Type: String
BuiltInDocumentPropertyCollection.DocumentVersion property
Represents the version of the file.
Type: String
BuiltInDocumentPropertyCollection.ScaleCrop property
Indicates the display mode of the document thumbnail.
Type: boolean
BuiltInDocumentPropertyCollection.LinksUpToDate property
Indicates whether hyperlinks in a document are up-to-date.
Type: boolean
BuiltInDocumentPropertyCollection.Words property
Represents an estimate of the number of words in the document.
Type: int
BuiltInDocumentPropertyCollection.Count property
Type: int
BuiltInDocumentPropertyCollection.Item (java.lang.String) property
Returns a DocumentProperty object by the name of the property. The string names of the properties correspond to the names of the typed properties available from BuiltInDocumentPropertyCollection . If you request a property that is not present in the document, but the name of the property is recognized as a valid built-in name, a new DocumentProperty is created, added to the collection and returned. The newly created property is assigned a default value (empty string, zero, false or DateTime.MinValue depending on the type of the built-in property). If you request a property that is not present in the document and the name is not recognized as a built-in name, a null is returned.
Type: DocumentProperty
BuiltInDocumentPropertyCollection.Item (int) property
Returns a DocumentProperty object by index.
Type: DocumentProperty
contains(name) (1 of 2)
Returns true if a property with the specified name exists in the collection.
| Parameter | Type | Description |
|---|---|---|
| name | String | The case-insensitive name of the property. |
Returns: True if the property exists in the collection; false otherwise.
contains(value) (2 of 2)
Reserved for internal use.
indexOf(name) (1 of 2)
Gets the index of a property by name.
| Parameter | Type | Description |
|---|---|---|
| name | String | The case-insensitive name of the property. |
Returns: The zero based index. Negative value if not found.
indexOf(value) (2 of 2)
Reserved for internal use.
remove(name)
Removes a property with the specified name from the collection.
| Parameter | Type | Description |
|---|---|---|
| name | String | The case-insensitive name of the property. |
removeAt(index)
Removes a property at the specified index.
| Parameter | Type | Description |
|---|---|---|
| index | int | The zero based index. |
clear()
iterator()
get(index)
Reserved for internal use.
add(value)
Reserved for internal use.