DocumentProperties

DocumentProperties

Overview

DocumentProperties is a class in Aspose.Slides FOSS for .NET. Inherits from: IDocumentProperties.

Represents the metadata properties of a presentation, wrapping OPC core, app, and custom property parts with lazy initialization.

Properties

NameTypeAccessDescription
TitlestringRead/WriteGets or sets the presentation title
SubjectstringRead/Write
AuthorstringRead/WriteGets or sets the name of the presentation author
KeywordsstringRead/WriteGets or sets a comma‑separated list of keywords for the presentation
CommentsstringRead/WriteGets or sets comments associated with the presentation
CategorystringRead/Write
ContentStatusstringRead/WriteGets or sets the status of the presentation content
ContentTypestringRead/WriteGets or sets the MIME content type of the presentation
LastSavedBystringRead/WriteGets or sets the name of the user who last saved the presentation
RevisionNumberintRead/WriteGets or sets the integer revision count of the presentation
CreatedTimeDateTime?Read/WriteGets or sets the creation timestamp; null if not set
LastSavedTimeDateTime?Read/WriteGets or sets the last saved timestamp; null if not set
LastPrintedDateTime?Read/Write
AppVersionstringReadGets or sets the version of the application that created the file
NameOfApplicationstringRead/Write
CompanystringRead/Write
ManagerstringRead/WriteGets or sets the manager name for the presentation
PresentationFormatstringRead/WriteGets or sets a description of the presentation format
ApplicationTemplatestringRead/WriteGets or sets the name of the template used to create the presentation
HyperlinkBasestringRead/WriteGets or sets the base URL for relative hyperlinks in the presentation
TotalEditingTimeTimeSpanRead/WriteGets or sets the cumulative editing time as a TimeSpan
SharedDocboolRead/WriteGets or sets a flag indicating whether the presentation is shared
ScaleCropboolRead/WriteGets or sets a flag indicating whether images are scaled and cropped
LinksUpToDateboolRead/WriteGets or sets a flag indicating whether external links are up‑to‑date
HyperlinksChangedboolRead/WriteGets or sets a flag indicating whether hyperlinks have been modified
SlidesintReadGets the total number of slides in the presentation
HiddenSlidesintReadGets the count of slides that are hidden
NotesintRead
ParagraphsintReadGets the total number of paragraphs across all slides
WordsintReadGets the total word count across the entire presentation
MultimediaClipsintRead
HeadingPairsIReadOnlyList<IHeadingPair>Read
TitlesOfPartsIReadOnlyList<string>Read
CountOfCustomPropertiesintRead

Methods

SignatureDescription
GetCustomPropertyValue(name: string)Returns the value of the custom property with the given name
SetCustomPropertyValue(name: string, value: object)Sets or adds a custom property with the specified name and value
GetCustomPropertyName(index: int)Returns the name of the custom property at the given index
RemoveCustomProperty(name: string)Deletes the custom property identified by the given name
ContainsCustomProperty(name: string)Returns true if a custom property with the specified name exists
ClearCustomProperties()Removes all custom properties from the document
ClearBuiltInProperties()Resets all built‑in document properties to their default values

See Also