BuiltInDocumentProperties

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

NameTypeAccessDescription
AuthorstringRead/WriteGets or sets the name of the document’s author.
BytesintRead/WriteRepresents an estimate of the number of bytes in the document.
CharactersintRead/WriteRepresents an estimate of the number of characters in the document.
CharactersWithSpacesintRead/WriteRepresents an estimate of the number of characters (including spaces) in the document.
CommentsstringRead/WriteGets or sets the document comments.
CategorystringRead/WriteGets or sets the category of the document.
CompanystringRead/WriteGets or sets the company property.
CreatedTimeDateTimeRead/WriteGets or sets date of the document creation in UTC.
HyperlinkBasestringRead/WriteSpecifies the base string used for evaluating relative hyperlinks in this document.
KeywordsstringRead/WriteGets or sets the document keywords.
LastPrintedDateTimeRead/WriteGets or sets the date when the document was last printed in UTC.
LastSavedBystringRead/WriteGets or sets the name of the last author.
LastSavedTimeDateTimeRead/WriteGets or sets the time of the last save in UTC.
LinesintRead/WriteRepresents an estimate of the number of lines in the document.
LinksUpToDateboolRead/WriteIndicates whether hyperlinks in a document are up-to-date.
ScaleCropboolReadIndicates whether document thumbnail is cropped or scaled to fit the display.
SharedDocumentboolReadIndicates whether the document is a shared document.
HyperlinksChangedboolReadIndicates whether hyperlinks in a document were changed.
ManagerstringRead/WriteGets or sets the manager property.
NameOfApplicationstringRead/WriteGets or sets the name of the application.
PagesintRead/WriteRepresents an estimate of the number of pages in the document.
ParagraphsintRead/WriteRepresents an estimate of the number of paragraphs in the document.
RevisionNumberintRead/WriteGets or sets the document revision number.
SecurityDocumentSecurityRead/WriteSpecifies the security level of a document as a numeric value.
SubjectstringRead/WriteGets or sets the subject of the document.
TemplatestringRead/WriteGets or sets the informational name of the document template.
Thumbnailbyte[]Read/WriteGets or sets the thumbnail of the document.
TitlestringRead/WriteGets or sets the title of the document.
TotalEditingTimeintRead/WriteGets or sets the total editing time in minutes.
ContentTypestringRead/WriteGets or sets the content type of the document.
ContentStatusstringRead/WriteGets or sets the content status of the document.
VersionintRead/WriteRepresents the version number of the application that created the document.
WordsintRead/WriteRepresents an estimate of the number of words in the document.
HeadingPairsobject[]Read/WriteSpecifies document headings and their names.
TitlesOfPartsstring[]Read/WriteEach string in the array specifies the name of a part in the document.
CountintReadGets number of items in the collection.

Methods

SignatureDescription
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.

See Also