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.

This class provides 7 methods for working with DocumentProperties objects in .NET programs. Available methods include: ClearBuiltInProperties, ClearCustomProperties, ContainsCustomProperty, GetCustomPropertyName, GetCustomPropertyValue, RemoveCustomProperty, SetCustomPropertyValue. All public members are accessible to any .NET application after installing the Aspose.Slides FOSS for .NET package. Properties: AppVersion, ApplicationTemplate, Author, Category, Comments, Company, and 28 more.

Properties

NameTypeAccessDescription
TitlestringRead/WriteGets or sets the title.
SubjectstringRead/WriteGets or sets the subject.
AuthorstringRead/WriteGets or sets the author.
KeywordsstringRead/WriteGets or sets the keywords.
CommentsstringRead/WriteGets or sets the comments.
CategorystringRead/WriteGets or sets the category.
ContentStatusstringRead/WriteGets or sets the content status.
ContentTypestringRead/WriteGets or sets the content type.
LastSavedBystringRead/WriteGets or sets the last saved by.
RevisionNumberintRead/WriteGets or sets the revision number.
CreatedTimeDateTime?Read/WriteGets or sets the created time.
LastSavedTimeDateTime?Read/WriteGets or sets the last saved time.
LastPrintedDateTime?Read/WriteGets or sets the last printed.
AppVersionstringReadGets the app version.
NameOfApplicationstringRead/WriteGets or sets the name of application.
CompanystringRead/WriteGets or sets the company.
ManagerstringRead/WriteGets or sets the manager.
PresentationFormatstringRead/WriteGets or sets the presentation format.
ApplicationTemplatestringRead/WriteGets or sets the application template.
HyperlinkBasestringRead/WriteGets or sets the hyperlink base.
TotalEditingTimeTimeSpanRead/WriteGets or sets the total editing time.
SharedDocboolRead/WriteGets or sets the shared doc.
ScaleCropboolRead/WriteGets or sets the scale crop.
LinksUpToDateboolRead/WriteGets or sets the links up to date.
HyperlinksChangedboolRead/WriteGets or sets the hyperlinks changed.
SlidesintReadGets the slides.
HiddenSlidesintReadGets the hidden slides.
NotesintReadGets the notes.
ParagraphsintReadGets the paragraphs.
WordsintReadGets the words.
MultimediaClipsintReadGets the multimedia clips.
HeadingPairsIReadOnlyList<IHeadingPair>ReadGets the heading pairs.
TitlesOfPartsIReadOnlyList<string>ReadGets the titles of parts.
CountOfCustomPropertiesintReadGets the count of custom properties.

Methods

SignatureDescription
GetCustomPropertyValue(name: string)Returns the value of the custom property with the given name
SetCustomPropertyValue(name: string, value: object)Sets the custom property value 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