BuiltInDocumentProperties Class |
Namespace: Aspose.Words.Properties
The BuiltInDocumentProperties type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | Author |
Gets or sets the name of the document's author.
|
![]() ![]() | Bytes |
Represents an estimate of the number of bytes in the document.
|
![]() ![]() | Category |
Gets or sets the category of the document.
|
![]() ![]() | Characters |
Represents an estimate of the number of characters in the document.
|
![]() ![]() | CharactersWithSpaces |
Represents an estimate of the number of characters (including spaces) in the document.
|
![]() ![]() | Comments |
Gets or sets the document comments.
|
![]() ![]() | Company |
Gets or sets the company property.
|
![]() ![]() | ContentStatus |
Gets or sets the ContentStatus of the document.
|
![]() ![]() | ContentType |
Gets or sets the ContentStatus of the document.
|
![]() ![]() | Count |
Gets number of items in the collection.
(Inherited from DocumentPropertyCollection.) |
![]() ![]() | CreatedTime |
Gets or sets date of the document creation in UTC.
|
![]() ![]() | HeadingPairs |
Specifies document headings and their names.
|
![]() ![]() | HyperlinkBase |
Specifies the base string used for evaluating relative hyperlinks in this document.
|
![]() ![]() | ItemString |
Returns a DocumentProperty object by the name of the property.
(Overrides DocumentPropertyCollectionItemString.) |
![]() ![]() | ItemInt32 |
Returns a DocumentProperty object by index.
(Inherited from DocumentPropertyCollection.) |
![]() ![]() | Keywords |
Gets or sets the document keywords.
|
![]() ![]() | LastPrinted |
Gets or sets the date when the document was last printed in UTC.
|
![]() ![]() | LastSavedBy |
Gets or sets the name of the last author.
|
![]() ![]() | LastSavedTime |
Gets or sets the time of the last save in UTC.
|
![]() ![]() | Lines |
Represents an estimate of the number of lines in the document.
|
![]() ![]() | LinksUpToDate |
Indicates whether hyperlinks in a document are up-to-date.
|
![]() ![]() | Manager |
Gets or sets the manager property.
|
![]() ![]() | NameOfApplication |
Gets or sets the name of the application.
|
![]() ![]() | Pages |
Represents an estimate of the number of pages in the document.
|
![]() ![]() | Paragraphs |
Represents an estimate of the number of paragraphs in the document.
|
![]() ![]() | RevisionNumber |
Gets or sets the document revision number.
|
![]() ![]() | Security |
Specifies the security level of a document as a numeric value.
|
![]() ![]() | Subject |
Gets or sets the subject of the document.
|
![]() ![]() | Template |
Gets or sets the informational name of the document template.
|
![]() ![]() | Thumbnail | Gets or sets the thumbnail of the document. |
![]() ![]() | Title |
Gets or sets the title of the document.
|
![]() ![]() | TitlesOfParts |
Each string in the array specifies the name of a part in the document.
|
![]() ![]() | TotalEditingTime |
Gets or sets the total editing time in minutes.
|
![]() ![]() | Version |
Represents the version number of the application that created the document.
|
![]() ![]() | Words |
Represents an estimate of the number of words in the document.
|
Name | Description | |
---|---|---|
![]() ![]() | Clear |
Removes all properties from the collection.
(Inherited from DocumentPropertyCollection.) |
![]() ![]() | Contains |
Returns true if a property with the specified name exists in the collection.
(Inherited from DocumentPropertyCollection.) |
![]() | Equals | (Inherited from Object.) |
![]() ![]() | GetEnumerator |
Returns an enumerator object that can be used to iterate over all items in the collection.
(Inherited from DocumentPropertyCollection.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() ![]() | IndexOf |
Gets the index of a property by name.
(Inherited from DocumentPropertyCollection.) |
![]() ![]() | Remove |
Removes a property with the specified name from the collection.
(Inherited from DocumentPropertyCollection.) |
![]() ![]() | RemoveAt |
Removes a property at the specified index.
(Inherited from DocumentPropertyCollection.) |
![]() | ToString | (Inherited from Object.) |
Provides access to DocumentProperty objects by their names (using an indexer) and via a set of typed properties that return values of appropriate types.
The names of the properties are case-insensitive.
The properties in the collection are sorted alphabetically by name.
Document doc = new Document(MyDir + "Properties.docx"); Console.WriteLine("1. Document name: {0}", doc.OriginalFileName); Console.WriteLine("2. Built-in Properties"); foreach (DocumentProperty docProperty in doc.BuiltInDocumentProperties) Console.WriteLine("{0} : {1}", docProperty.Name, docProperty.Value); Console.WriteLine("3. Custom Properties"); foreach (DocumentProperty docProperty in doc.CustomDocumentProperties) Console.WriteLine("{0} : {1}", docProperty.Name, docProperty.Value);