BuiltInDocumentProperties
Overview
BuiltInDocumentProperties is a class in Aspose.Words FOSS for .NET.
Inherits from: DocumentPropertyCollection.
A collection of built-in document properties.
This class provides 6 methods for working with BuiltInDocumentProperties objects in .NET programs.
Available methods include: Clear, Contains, GetEnumerator, IndexOf, Remove, RemoveAt.
All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package.
Properties: Author, Bytes, Category, Characters, CharactersWithSpaces, Comments, and 30 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Author | string | Read/Write | Gets or sets the name of the document’s author. |
Bytes | int | Read/Write | Represents an estimate of the number of bytes in the document. |
Characters | int | Read/Write | Represents an estimate of the number of characters in the document. |
CharactersWithSpaces | int | Read/Write | Represents an estimate of the number of characters (including spaces) in the document. |
Comments | string | Read/Write | Gets or sets the document comments. |
Category | string | Read/Write | Gets or sets the category of the document. |
Company | string | Read/Write | Gets or sets the company property. |
CreatedTime | DateTime | Read/Write | Gets or sets date of the document creation in UTC. |
HyperlinkBase | string | Read/Write | Specifies the base string used for evaluating relative hyperlinks in this document. |
Keywords | string | Read/Write | Gets or sets the document keywords. |
LastPrinted | DateTime | Read/Write | Gets or sets the date when the document was last printed in UTC. |
LastSavedBy | string | Read/Write | Gets or sets the name of the last author. |
LastSavedTime | DateTime | Read/Write | Gets or sets the time of the last save in UTC. |
Lines | int | Read/Write | Represents an estimate of the number of lines in the document. |
LinksUpToDate | bool | Read/Write | Indicates whether hyperlinks in a document are up-to-date. |
ScaleCrop | bool | Read | Indicates whether document thumbnail is cropped or scaled to fit the display. |
SharedDocument | bool | Read | Indicates whether the document is a shared document. |
HyperlinksChanged | bool | Read | Indicates whether hyperlinks in a document were changed. |
Manager | string | Read/Write | Gets or sets the manager property. |
NameOfApplication | string | Read/Write | Gets or sets the name of the application. |
Pages | int | Read/Write | Represents an estimate of the number of pages in the document. |
Paragraphs | int | Read/Write | Represents an estimate of the number of paragraphs in the document. |
RevisionNumber | int | Read/Write | Gets or sets the document revision number. |
Security | DocumentSecurity | Read/Write | Specifies the security level of a document as a numeric value. |
Subject | string | Read/Write | Gets or sets the subject of the document. |
Template | string | Read/Write | Gets or sets the informational name of the document template. |
Thumbnail | byte[] | Read/Write | Gets or sets the thumbnail of the document. |
Title | string | Read/Write | Gets or sets the title of the document. |
TotalEditingTime | int | Read/Write | Gets or sets the total editing time in minutes. |
ContentType | string | Read/Write | Gets or sets the content type of the document. |
ContentStatus | string | Read/Write | Gets or sets the content status of the document. |
Version | int | Read/Write | Represents the version number of the application that created the document. |
Words | int | Read/Write | Represents an estimate of the number of words in the document. |
HeadingPairs | object[] | Read/Write | Specifies document headings and their names. |
TitlesOfParts | string[] | Read/Write | Each string in the array specifies the name of a part in the document. |
Count | int | Read | Gets number of items in the collection. |
Methods
| Signature | Description |
|---|---|
GetEnumerator() | Returns an enumeratoriteratorenumerator object that can be used to iterate over all items in the collection. |
Contains(name: string) | Returns true if a property with the specified name exists in the collection. |
IndexOf(name: string) | Gets the index of a property by name. |
Remove(name: string) | Removes a property with the specified name from the collection. |
RemoveAt(index: int) | Removes a property at the specified index. |
Clear() | Removes all properties from the collection. |