IDocumentProperties

IDocumentProperties interface

Represents properties of a presentation.

public interface IDocumentProperties

Properties

NameDescription
ApplicationTemplate { get; set; }Returns or sets the template of a application. Read/write String.
AppVersion { get; }Returns the app version. Read-only String.
Author { get; set; }Returns or sets the author of a presentation. Read/write String.
Category { get; set; }Returns or sets the category of a presentation. Read/write String.
Comments { get; set; }Returns or sets the comments of a presentation. Read/write String.
Company { get; set; }Returns or sets the company property. Read/write String.
ContentStatus { get; set; }Returns or sets the content status of a presentation. Read/write String.
ContentType { get; set; }Returns or sets the content type of a presentation. Read/write String.
CountOfCustomProperties { get; }Returns the number of custom properties actually contained in a collection. Read-only Int32.
CreatedTime { get; set; }Returns the date a presentation was created. Values are in UTC. Read/write DateTime.
HyperlinkBase { get; set; }Returns or sets the HyperlinkBase document property. Read/write String.
Item { get; set; }Returns or sets the custom property associated with a specified name. Read/write Object.
Keywords { get; set; }Returns or sets the keywords of a presentation. Read/write String.
LastPrinted { get; set; }Returns the date when a presentation was printed last time. Read/write DateTime.
LastSavedBy { get; set; }Returns or sets the name of a last person who modified a presentation. Read/write String.
LastSavedTime { get; set; }Returns the date a presentation was last modified. Values are in UTC.P Read-only in case of Presentation.DocumentProperties (because it will be updated internally while IPresentation object saving process). Can be changed via DocumentProperties instance returning by method ReadDocumentProperties Please see the example in UpdateDocumentProperties method summary.
Manager { get; set; }Returns or sets the manager property. Read/write String.
NameOfApplication { get; set; }Returns or sets the name of the application. Read/write String.
PresentationFormat { get; set; }Returns or sets the intended format of a presentation. Read/write String.
RevisionNumber { get; set; }Returns or sets the presentation revision number. Read/write Int32.
SharedDoc { get; set; }Determines whether the presentation is shared between multiple people. Read/write Boolean.
Subject { get; set; }Returns or sets the subject of a presentation. Read/write String.
Title { get; set; }Returns or sets the title of a presentation. Read/write String.
TotalEditingTime { get; set; }Total editing time of a presentation. Read/write TimeSpan.

Methods

NameDescription
ClearBuiltInProperties()Clears and sets default values for all builtIn properties.
ClearCustomProperties()Removes all custom properties.
ContainsCustomProperty(string)Check presents of a custom property with a specified name.
GetCustomPropertyName(int)Return a custom property name at the specified index.
GetCustomPropertyValue(string, out bool)Gets a named boolean value from the custom properties.
GetCustomPropertyValue(string, out DateTime)Gets a named DateTime value from the custom properties.
GetCustomPropertyValue(string, out double)Gets a named double value from the custom properties.
GetCustomPropertyValue(string, out float)Gets a named float value from the custom properties.
GetCustomPropertyValue(string, out int)Gets a named integer value from the custom properties.
GetCustomPropertyValue(string, out string)Gets a named string value from the custom properties.
RemoveCustomProperty(string)Remove a custom property associated with a specified name.
SetCustomPropertyValue(string, bool)Sets a named boolean custom property.
SetCustomPropertyValue(string, DateTime)Sets a named DateTime custom property.
SetCustomPropertyValue(string, double)Sets a named double custom property.
SetCustomPropertyValue(string, float)Sets a named float custom property.
SetCustomPropertyValue(string, int)Sets a named integer custom property.
SetCustomPropertyValue(string, string)Sets a named string custom property.

See Also