Interface IBuiltInDocumentProperties
Represents the built-in document properties.
Namespace: Syncfusion.Presentation
Assembly: Syncfusion.Presentation.UWP.dll
Syntax
public interface IBuiltInDocumentProperties
Properties
ApplicationName
Gets or sets the application name.
Declaration
string ApplicationName { get; set; }
Property Value
Type |
---|
System.String |
Examples
//Create a new presentation.
IPresentation presentation = Presentation.Create();
//Retrieve the built in document properties from the presentation.
IBuiltInDocumentProperties builtInDocumentProperties = presentation.BuiltInDocumentProperties;
//Set the application name.
builtInDocumentProperties.ApplicationName = "Application Name";
//Save the presentation.
presentation.Save("ApplicationName.pptx");
//Close the presentation.
presentation.Close();
'Create a new presentation.
Dim presentation__1 As IPresentation = Presentation.Create()
'Retrieve the built in document properties from the presentation.
Dim builtInDocumentProperties As IBuiltInDocumentProperties = presentation__1.BuiltInDocumentProperties
'Set the application name.
builtInDocumentProperties.ApplicationName = "Application Name"
'Save the presentation.
presentation__1.Save("ApplicationName.pptx")
'Close the presentation.
presentation__1.Close()
Author
Gets or sets the author.
Declaration
string Author { get; set; }
Property Value
Type |
---|
System.String |
Examples
//Create a new presentation.
IPresentation presentation = Presentation.Create();
//Retrieve the built in document properties from the presentation.
IBuiltInDocumentProperties builtInDocumentProperties = presentation.BuiltInDocumentProperties;
//Set the Author
builtInDocumentProperties.Author = "Author";
//Save the presentation.
presentation.Save("Author.pptx");
//Close the presentation.
presentation.Close();
'Create a new presentation.
Dim presentation__1 As IPresentation = Presentation.Create()
'Retrieve the built in document properties from the presentation.
Dim builtInDocumentProperties As IBuiltInDocumentProperties = presentation__1.BuiltInDocumentProperties
'Set the Author
builtInDocumentProperties.Author = "Author"
'Save the presentation.
presentation__1.Save("Author.pptx")
'Close the presentation.
presentation__1.Close()
ByteCount
Gets or sets the byte count.
Declaration
int ByteCount { get; set; }
Property Value
Type |
---|
System.Int32 |
Examples
//Create a new presentation.
IPresentation presentation = Presentation.Create();
//Retrieve the built in document properties from the presentation.
IBuiltInDocumentProperties builtInDocumentProperties = presentation.BuiltInDocumentProperties;
//Set the byte count.
builtInDocumentProperties.ByteCount = 20;
//Save the presentation.
presentation.Save("ByteCount.pptx");
//Close the presentation.
presentation.Close();
'Create a new presentation.
Dim presentation__1 As IPresentation = Presentation.Create()
'Retrieve the built in document properties from the presentation.
Dim builtInDocumentProperties As IBuiltInDocumentProperties = presentation__1.BuiltInDocumentProperties
'Set the byte count.
builtInDocumentProperties.ByteCount = 20
'Save the presentation.
presentation__1.Save("ByteCount.pptx")
'Close the presentation.
presentation__1.Close()
Category
Gets or sets the category.
Declaration
string Category { get; set; }
Property Value
Type |
---|
System.String |
Examples
//Create a new presentation.
IPresentation presentation = Presentation.Create();
//Retrieve the built in document properties from the presentation.
IBuiltInDocumentProperties builtInDocumentProperties = presentation.BuiltInDocumentProperties;
//Set the category.
builtInDocumentProperties.Category = "Category";
//Save the presentation.
presentation.Save("Category.pptx");
//Close the presentation.
presentation.Close();
'Create a new presentation.
Dim presentation__1 As IPresentation = Presentation.Create()
'Retrieve the built in document properties from the presentation.
Dim builtInDocumentProperties As IBuiltInDocumentProperties = presentation__1.BuiltInDocumentProperties
'Set the category.
builtInDocumentProperties.Category = "Category"
'Save the presentation.
presentation__1.Save("Category.pptx")
'Close the presentation.
presentation__1.Close()
CharCount
Gets or sets the character count.
Declaration
int CharCount { get; set; }
Property Value
Type |
---|
System.Int32 |
Examples
//Create a new presentation.
IPresentation presentation = Presentation.Create();
//Retrieve the built in document properties from the presentation.
IBuiltInDocumentProperties builtInDocumentProperties = presentation.BuiltInDocumentProperties;
//Set the character count.
builtInDocumentProperties.CharCount = 10;
//Save the presentation.
presentation.Save("CharCount.pptx");
//Close the presentation.
presentation.Close();
'Create a new presentation.
Dim presentation__1 As IPresentation = Presentation.Create()
'Retrieve the built in document properties from the presentation.
Dim builtInDocumentProperties As IBuiltInDocumentProperties = presentation__1.BuiltInDocumentProperties
'Set the character count.
builtInDocumentProperties.CharCount = 10
'Save the presentation.
presentation__1.Save("CharCount.pptx")
'Close the presentation.
presentation__1.Close()
Comments
Gets or sets the comments.
Declaration
string Comments { get; set; }
Property Value
Type |
---|
System.String |
Examples
//Create a new presentation.
IPresentation presentation = Presentation.Create();
//Retrieve the built in document properties from the presentation.
IBuiltInDocumentProperties builtInDocumentProperties = presentation.BuiltInDocumentProperties;
//Set the comments.
builtInDocumentProperties.Comments = "Comments";
//Save the presentation.
presentation.Save("Comments.pptx");
//Close the presentation.
presentation.Close();
'Create a new presentation.
Dim presentation__1 As IPresentation = Presentation.Create()
'Retrieve the built in document properties from the presentation.
Dim builtInDocumentProperties As IBuiltInDocumentProperties = presentation__1.BuiltInDocumentProperties
'Set the comments.
builtInDocumentProperties.Comments = "Comments"
'Save the presentation.
presentation__1.Save("Comments.pptx")
'Close the presentation.
presentation__1.Close()
Company
Gets or sets the company name.
Declaration
string Company { get; set; }
Property Value
Type |
---|
System.String |
Examples
//Create a new presentation.
IPresentation presentation = Presentation.Create();
//Retrieve the built in document properties from the presentation.
IBuiltInDocumentProperties builtInDocumentProperties = presentation.BuiltInDocumentProperties;
//Set the company name.
builtInDocumentProperties.Company = "Company";
//Save the presentation.
presentation.Save("Company.pptx");
//Close the presentation.
presentation.Close();
'Create a new presentation.
Dim presentation__1 As IPresentation = Presentation.Create()
'Retrieve the built in document properties from the presentation.
Dim builtInDocumentProperties As IBuiltInDocumentProperties = presentation__1.BuiltInDocumentProperties
'Set the company name.
builtInDocumentProperties.Company = "Company"
'Save the presentation.
presentation__1.Save("Company.pptx")
'Close the presentation.
presentation__1.Close()
ContentStatus
Gets or sets the content status.
Declaration
string ContentStatus { get; set; }
Property Value
Type |
---|
System.String |
Examples
//Create a new presentation.
IPresentation presentation = Presentation.Create();
//Retrieve the built in document properties from the presentation.
IBuiltInDocumentProperties builtInDocumentProperties = presentation.BuiltInDocumentProperties;
//Set the content status.
builtInDocumentProperties.ContentStatus = "Content Status";
//Save the presentation.
presentation.Save("ContentStatus.pptx");
//Close the presentation.
presentation.Close();
'Create a new presentation.
Dim presentation__1 As IPresentation = Presentation.Create()
'Retrieve the built in document properties from the presentation.
Dim builtInDocumentProperties As IBuiltInDocumentProperties = presentation__1.BuiltInDocumentProperties
'Set the content status.
builtInDocumentProperties.ContentStatus = "Content Status"
'Save the presentation.
presentation__1.Save("ContentStatus.pptx")
'Close the presentation.
presentation__1.Close()
CreationDate
Gets or sets the creation date.
Declaration
DateTime CreationDate { get; set; }
Property Value
Type |
---|
System.DateTime |
Examples
//Create a new presentation.
IPresentation presentation = Presentation.Create();
//Retrieve the built in document properties from the presentation.
IBuiltInDocumentProperties builtInDocumentProperties = presentation.BuiltInDocumentProperties;
//Set the creation date.
builtInDocumentProperties.CreationDate = DateTime.Today;
//Save the presentation.
presentation.Save("CreationDate.pptx");
//Close the presentation.
presentation.Close();
'Create a new presentation.
Dim presentation__1 As IPresentation = Presentation.Create()
'Retrieve the built in document properties from the presentation.
Dim builtInDocumentProperties As IBuiltInDocumentProperties = presentation__1.BuiltInDocumentProperties
'Set the creation date.
builtInDocumentProperties.CreationDate = DateTime.Today
'Save the presentation.
presentation__1.Save("CreationDate.pptx")
'Close the presentation.
presentation__1.Close()
EditTime
Gets or sets the edit time.
Declaration
TimeSpan EditTime { get; set; }
Property Value
Type |
---|
System.TimeSpan |
Examples
//Create a new presentation.
IPresentation presentation = Presentation.Create();
//Retrieve the built in document properties from the presentation.
IBuiltInDocumentProperties builtInDocumentProperties = presentation.BuiltInDocumentProperties;
//Set the edit time.
builtInDocumentProperties.EditTime = TimeSpan.FromDays(22);
//Save the presentation.
presentation.Save("EditTime.pptx");
//Close the presentation.
presentation.Close();
'Create a new presentation.
Dim presentation__1 As IPresentation = Presentation.Create()
'Retrieve the built in document properties from the presentation.
Dim builtInDocumentProperties As IBuiltInDocumentProperties = presentation__1.BuiltInDocumentProperties
'Set the edit time.
builtInDocumentProperties.EditTime = TimeSpan.FromDays(22)
'Save the presentation.
presentation__1.Save("EditTime.pptx")
'Close the presentation.
presentation__1.Close()
HiddenCount
Gets or sets the hidden count.
Declaration
int HiddenCount { get; set; }
Property Value
Type |
---|
System.Int32 |
Examples
//Create a new presentation.
IPresentation presentation = Presentation.Create();
//Retrieve the built in document properties from the presentation.
IBuiltInDocumentProperties builtInDocumentProperties = presentation.BuiltInDocumentProperties;
//Set the hidden count.
builtInDocumentProperties.HiddenCount = 40;
//Save the presentation.
presentation.Save("NoteCount.pptx");
//Close the presentation.
presentation.Close();
'Create a new presentation.
Dim presentation__1 As IPresentation = Presentation.Create()
'Retrieve the built in document properties from the presentation.
Dim builtInDocumentProperties As IBuiltInDocumentProperties = presentation__1.BuiltInDocumentProperties
'Set the hidden count.
builtInDocumentProperties.HiddenCount = 40
'Save the presentation.
presentation__1.Save("NoteCount.pptx")
'Close the presentation.
presentation__1.Close()
Keywords
Gets or sets the keywords.
Declaration
string Keywords { get; set; }
Property Value
Type |
---|
System.String |
Examples
//Create a new presentation.
IPresentation presentation = Presentation.Create();
//Retrieve the built in document properties from the presentation.
IBuiltInDocumentProperties builtInDocumentProperties = presentation.BuiltInDocumentProperties;
//Set the keywords.
builtInDocumentProperties.Keywords = "Keywords";
//Save the presentation.
presentation.Save("Keywords.pptx");
//Close the presentation.
presentation.Close();
'Create a new presentation.
Dim presentation__1 As IPresentation = Presentation.Create()
'Retrieve the built in document properties from the presentation.
Dim builtInDocumentProperties As IBuiltInDocumentProperties = presentation__1.BuiltInDocumentProperties
'Set the keywords.
builtInDocumentProperties.Keywords = "Keywords"
'Save the presentation.
presentation__1.Save("Keywords.pptx")
'Close the presentation.
presentation__1.Close()
Language
Gets or sets the language.
Declaration
string Language { get; set; }
Property Value
Type |
---|
System.String |
Examples
//Create a new presentation.
IPresentation presentation = Presentation.Create();
//Retrieve the built in document properties from the presentation.
IBuiltInDocumentProperties builtInDocumentProperties = presentation.BuiltInDocumentProperties;
//Set the language.
builtInDocumentProperties.Language = "English";
//Save the presentation.
presentation.Save("Language.pptx");
//Close the presentation.
presentation.Close();
'Create a new presentation.
Dim presentation__1 As IPresentation = Presentation.Create()
'Retrieve the built in document properties from the presentation.
Dim builtInDocumentProperties As IBuiltInDocumentProperties = presentation__1.BuiltInDocumentProperties
'Set the language.
builtInDocumentProperties.Language = "English"
'Save the presentation.
presentation__1.Save("Language.pptx")
'Close the presentation.
presentation__1.Close()
LastAuthor
Gets or sets the last author.
Declaration
string LastAuthor { get; set; }
Property Value
Type |
---|
System.String |
Examples
//Create a new presentation.
IPresentation presentation = Presentation.Create();
//Retrieve the built in document properties from the presentation.
IBuiltInDocumentProperties builtInDocumentProperties = presentation.BuiltInDocumentProperties;
//Set the last author.
builtInDocumentProperties.LastAuthor = "Last Author";
//Save the presentation.
presentation.Save("LastAuthor.pptx");
//Close the presentation.
presentation.Close();
'Create a new presentation.
Dim presentation__1 As IPresentation = Presentation.Create()
'Retrieve the built in document properties from the presentation.
Dim builtInDocumentProperties As IBuiltInDocumentProperties = presentation__1.BuiltInDocumentProperties
'Set the last author.
builtInDocumentProperties.LastAuthor = "Last Author"
'Save the presentation.
presentation__1.Save("LastAuthor.pptx")
'Close the presentation.
presentation__1.Close()
LastPrinted
Gets or sets the last printed.
Declaration
DateTime LastPrinted { get; set; }
Property Value
Type |
---|
System.DateTime |
Examples
//Create a new presentation.
IPresentation presentation = Presentation.Create();
//Retrieve the built in document properties from the presentation.
IBuiltInDocumentProperties builtInDocumentProperties = presentation.BuiltInDocumentProperties;
//Set the last printed.
builtInDocumentProperties.LastPrinted = DateTime.Now;
//Save the presentation.
presentation.Save("LastPrinted.pptx");
//Close the presentation.
presentation.Close();
'Create a new presentation.
Dim presentation__1 As IPresentation = Presentation.Create()
'Retrieve the built in document properties from the presentation.
Dim builtInDocumentProperties As IBuiltInDocumentProperties = presentation__1.BuiltInDocumentProperties
'Set the last printed.
builtInDocumentProperties.LastPrinted = DateTime.Now
'Save the presentation.
presentation__1.Save("LastPrinted.pptx")
'Close the presentation.
presentation__1.Close()
LastSaveDate
Gets or sets the last save date.
Declaration
DateTime LastSaveDate { get; set; }
Property Value
Type |
---|
System.DateTime |
Examples
//Create a new presentation.
IPresentation presentation = Presentation.Create();
//Retrieve the built in document properties from the presentation.
IBuiltInDocumentProperties builtInDocumentProperties = presentation.BuiltInDocumentProperties;
//Set the last save date.
builtInDocumentProperties.LastSaveDate = DateTime.Today;
//Save the presentation.
presentation.Save("LastSaveDate.pptx");
//Close the presentation.
presentation.Close();
'Create a new presentation.
Dim presentation__1 As IPresentation = Presentation.Create()
'Retrieve the built in document properties from the presentation.
Dim builtInDocumentProperties As IBuiltInDocumentProperties = presentation__1.BuiltInDocumentProperties
'Set the last save date.
builtInDocumentProperties.LastSaveDate = DateTime.Today
'Save the presentation.
presentation__1.Save("LastSaveDate.pptx")
'Close the presentation.
presentation__1.Close()
LineCount
Gets or sets the line count.
Declaration
int LineCount { get; set; }
Property Value
Type |
---|
System.Int32 |
Examples
//Create a new presentation.
IPresentation presentation = Presentation.Create();
//Retrieve the built in document properties from the presentation.
IBuiltInDocumentProperties builtInDocumentProperties = presentation.BuiltInDocumentProperties;
//Set the line count.
builtInDocumentProperties.LineCount = 3;
//Save the presentation.
presentation.Save("LineCount.pptx");
//Close the presentation.
presentation.Close();
'Create a new presentation.
Dim presentation__1 As IPresentation = Presentation.Create()
'Retrieve the built in document properties from the presentation.
Dim builtInDocumentProperties As IBuiltInDocumentProperties = presentation__1.BuiltInDocumentProperties
'Set the line count.
builtInDocumentProperties.LineCount = 3
'Save the presentation.
presentation__1.Save("LineCount.pptx")
'Close the presentation.
presentation__1.Close()
LinksDirty
Indicates whether the custom links are hampered by excessive noise, for all applications.
Declaration
bool LinksDirty { get; set; }
Property Value
Type |
---|
System.Boolean |
Examples
//Create a new presentation.
IPresentation presentation = Presentation.Create();
//Retrieve the built in document properties from the presentation.
IBuiltInDocumentProperties builtInDocumentProperties = presentation.BuiltInDocumentProperties;
//Set the LinksDirty
builtInDocumentProperties.LinksDirty = true;
//Save the presentation.
presentation.Save("Company.pptx");
//Close the presentation.
presentation.Close();
'Create a new presentation.
Dim presentation__1 As IPresentation = Presentation.Create()
'Retrieve the built in document properties from the presentation.
Dim builtInDocumentProperties As IBuiltInDocumentProperties = presentation__1.BuiltInDocumentProperties
'Set the LinksDirty
builtInDocumentProperties.LinksDirty = true
'Save the presentation.
presentation__1.Save("Company.pptx")
'Close the presentation.
presentation__1.Close()
Manager
Gets or sets the manager name.
Declaration
string Manager { get; set; }
Property Value
Type |
---|
System.String |
Examples
//Create a new presentation.
IPresentation presentation = Presentation.Create();
//Retrieve the built in document properties from the presentation.
IBuiltInDocumentProperties builtInDocumentProperties = presentation.BuiltInDocumentProperties;
//Set the manager name.
builtInDocumentProperties.Manager = "Manager";
//Save the presentation.
presentation.Save("MultimediaClipCount.pptx");
//Close the presentation.
presentation.Close();
'Create a new presentation.
Dim presentation__1 As IPresentation = Presentation.Create()
'Retrieve the built in document properties from the presentation.
Dim builtInDocumentProperties As IBuiltInDocumentProperties = presentation__1.BuiltInDocumentProperties
'Set the manager name.
builtInDocumentProperties.Manager = "Manager"
'Save the presentation.
presentation__1.Save("MultimediaClipCount.pptx")
'Close the presentation.
presentation__1.Close()
MultimediaClipCount
Gets or sets the MultimediaClipCount.
Declaration
int MultimediaClipCount { get; set; }
Property Value
Type |
---|
System.Int32 |
Examples
//Create a new presentation.
IPresentation presentation = Presentation.Create();
//Retrieve the built in document properties from the presentation.
IBuiltInDocumentProperties builtInDocumentProperties = presentation.BuiltInDocumentProperties;
//Set the MultimediaClipCount.
builtInDocumentProperties.MultimediaClipCount = 0;
//Save the presentation.
presentation.Save("MultimediaClipCount.pptx");
//Close the presentation.
presentation.Close();
'Create a new presentation.
Dim presentation__1 As IPresentation = Presentation.Create()
'Retrieve the built in document properties from the presentation.
Dim builtInDocumentProperties As IBuiltInDocumentProperties = presentation__1.BuiltInDocumentProperties
'Set the MultimediaClipCount.
builtInDocumentProperties.MultimediaClipCount = 0
'Save the presentation.
presentation__1.Save("MultimediaClipCount.pptx")
'Close the presentation.
presentation__1.Close()
NoteCount
Gets or sets the note count.
Declaration
int NoteCount { get; set; }
Property Value
Type |
---|
System.Int32 |
Examples
//Create a new presentation.
IPresentation presentation = Presentation.Create();
//Retrieve the built in document properties from the presentation.
IBuiltInDocumentProperties builtInDocumentProperties = presentation.BuiltInDocumentProperties;
//Set the note count.
builtInDocumentProperties.NoteCount = 100;
//Save the presentation.
presentation.Save("NoteCount.pptx");
//Close the presentation.
presentation.Close();
'Create a new presentation.
Dim presentation__1 As IPresentation = Presentation.Create()
'Retrieve the built in document properties from the presentation.
Dim builtInDocumentProperties As IBuiltInDocumentProperties = presentation__1.BuiltInDocumentProperties
'Set the note count.
builtInDocumentProperties.NoteCount = 100
'Save the presentation.
presentation__1.Save("NoteCount.pptx")
'Close the presentation.
presentation__1.Close()
PageCount
Gets or sets the page count.
Declaration
int PageCount { get; set; }
Property Value
Type |
---|
System.Int32 |
Examples
//Create a new presentation.
IPresentation presentation = Presentation.Create();
//Retrieve the built in document properties from the presentation.
IBuiltInDocumentProperties builtInDocumentProperties = presentation.BuiltInDocumentProperties;
//Set the page count.
builtInDocumentProperties.PageCount = 300;
//Save the presentation.
presentation.Save("PageCount.pptx");
//Close the presentation.
presentation.Close();
'Create a new presentation.
Dim presentation__1 As IPresentation = Presentation.Create()
'Retrieve the built in document properties from the presentation.
Dim builtInDocumentProperties As IBuiltInDocumentProperties = presentation__1.BuiltInDocumentProperties
'Set the page count.
builtInDocumentProperties.PageCount = 300
'Save the presentation.
presentation__1.Save("PageCount.pptx")
'Close the presentation.
presentation__1.Close()
ParagraphCount
Gets or sets the paragraph count.
Declaration
int ParagraphCount { get; set; }
Property Value
Type |
---|
System.Int32 |
Examples
//Create a new presentation.
IPresentation presentation = Presentation.Create();
//Retrieve the built in document properties from the presentation.
IBuiltInDocumentProperties builtInDocumentProperties = presentation.BuiltInDocumentProperties;
//Set the paragraph count.
builtInDocumentProperties.ParagraphCount = 84;
//Save the presentation.
presentation.Save("ParagraphCount.pptx");
//Close the presentation.
presentation.Close();
'Create a new presentation.
Dim presentation__1 As IPresentation = Presentation.Create()
'Retrieve the built in document properties from the presentation.
Dim builtInDocumentProperties As IBuiltInDocumentProperties = presentation__1.BuiltInDocumentProperties
'Set the paragraph count.
builtInDocumentProperties.ParagraphCount = 84
'Save the presentation.
presentation__1.Save("ParagraphCount.pptx")
'Close the presentation.
presentation__1.Close()
PresentationTarget
Gets or sets the target format (35mm, printer, video, and so on).
Declaration
string PresentationTarget { get; set; }
Property Value
Type |
---|
System.String |
Examples
//Create a new presentation.
IPresentation presentation = Presentation.Create();
//Retrieve the built in document properties from the presentation.
IBuiltInDocumentProperties builtInDocumentProperties = presentation.BuiltInDocumentProperties;
//Set the PresentationTarget
builtInDocumentProperties.PresentationTarget = "Presentation Target";
//Save the presentation.
presentation.Save("Output.pptx");
//Close the presentation.
presentation.Close();
'Create a new presentation.
Dim presentation__1 As IPresentation = Presentation.Create()
'Retrieve the built in document properties from the presentation.
Dim builtInDocumentProperties As IBuiltInDocumentProperties = presentation__1.BuiltInDocumentProperties
'Set the PresentationTarget
builtInDocumentProperties.PresentationTarget = "Presentation Target"
'Save the presentation.
presentation__1.Save("Output.pptx")
'Close the presentation.
presentation__1.Close()
RevisionNumber
Gets or sets the revision number.
Declaration
string RevisionNumber { get; set; }
Property Value
Type |
---|
System.String |
Remarks
This property is intended to store only valid numerical string. Any non-numerical string assigned to this property will not be accepted.
Examples
//Create a new presentation.
IPresentation presentation = Presentation.Create();
//Retrieve the built in document properties from the presentation.
IBuiltInDocumentProperties builtInDocumentProperties = presentation.BuiltInDocumentProperties;
//Set the revision number.
builtInDocumentProperties.RevisionNumber = "200";
//Save the presentation.
presentation.Save("RevisionNumber.pptx");
//Close the presentation.
presentation.Close();
'Create a new presentation.
Dim presentation__1 As IPresentation = Presentation.Create()
'Retrieve the built in document properties from the presentation.
Dim builtInDocumentProperties As IBuiltInDocumentProperties = presentation__1.BuiltInDocumentProperties
'Set the revision number.
builtInDocumentProperties.RevisionNumber = "200"
'Save the presentation.
presentation__1.Save("RevisionNumber.pptx")
'Close the presentation.
presentation__1.Close()
SlideCount
Gets or sets the SlideCount.
Declaration
int SlideCount { get; set; }
Property Value
Type |
---|
System.Int32 |
Examples
//Create a new presentation.
IPresentation presentation = Presentation.Create();
//Retrieve the built in document properties from the presentation.
IBuiltInDocumentProperties builtInDocumentProperties = presentation.BuiltInDocumentProperties;
//Set the SlideCount.
builtInDocumentProperties.SlideCount = 10;
//Save the presentation.
presentation.Save("SlideCount.pptx");
//Close the presentation.
presentation.Close();
'Create a new presentation.
Dim presentation__1 As IPresentation = Presentation.Create()
'Retrieve the built in document properties from the presentation.
Dim builtInDocumentProperties As IBuiltInDocumentProperties = presentation__1.BuiltInDocumentProperties
'Set the SlideCount.
builtInDocumentProperties.SlideCount = 10
'Save the presentation.
presentation__1.Save("SlideCount.pptx")
'Close the presentation.
presentation__1.Close()
Subject
Gets or sets the subject.
Declaration
string Subject { get; set; }
Property Value
Type |
---|
System.String |
Examples
//Create a new presentation.
IPresentation presentation = Presentation.Create();
//Retrieve the built in document properties from the presentation.
IBuiltInDocumentProperties builtInDocumentProperties = presentation.BuiltInDocumentProperties;
//Set the Subject
builtInDocumentProperties.Subject = "Subject";
//Save the presentation.
presentation.Save("Subject.pptx");
//Close the presentation.
presentation.Close();
'Create a new presentation.
Dim presentation__1 As IPresentation = Presentation.Create()
'Retrieve the built in document properties from the presentation.
Dim builtInDocumentProperties As IBuiltInDocumentProperties = presentation__1.BuiltInDocumentProperties
'Set the Subject
builtInDocumentProperties.Subject = "Subject"
'Save the presentation.
presentation__1.Save("Subject.pptx")
'Close the presentation.
presentation__1.Close()
Template
Gets or sets the template.
Declaration
string Template { get; set; }
Property Value
Type |
---|
System.String |
Examples
//Create a new presentation.
IPresentation presentation = Presentation.Create();
//Retrieve the built in document properties from the presentation.
IBuiltInDocumentProperties builtInDocumentProperties = presentation.BuiltInDocumentProperties;
//Set the template.
builtInDocumentProperties.Template = "Presentation Template";
//Save the presentation.
presentation.Save("Template.pptx");
//Close the presentation.
presentation.Close();
'Create a new presentation.
Dim presentation__1 As IPresentation = Presentation.Create()
'Retrieve the built in document properties from the presentation.
Dim builtInDocumentProperties As IBuiltInDocumentProperties = presentation__1.BuiltInDocumentProperties
'Set the template.
builtInDocumentProperties.Template = "Presentation Template"
'Save the presentation.
presentation__1.Save("Template.pptx")
'Close the presentation.
presentation__1.Close()
Title
Gets or sets the title.
Declaration
string Title { get; set; }
Property Value
Type |
---|
System.String |
Examples
//Create a new presentation.
IPresentation presentation = Presentation.Create();
//Retrieve the built in document properties from the presentation.
IBuiltInDocumentProperties builtInDocumentProperties = presentation.BuiltInDocumentProperties;
//Set the Title.
builtInDocumentProperties.Title = "Presentation Title";
//Save the presentation.
presentation.Save("Title.pptx");
//Close the presentation.
presentation.Close();
'Create a new presentation.
Dim presentation__1 As IPresentation = Presentation.Create()
'Retrieve the built in document properties from the presentation.
Dim builtInDocumentProperties As IBuiltInDocumentProperties = presentation__1.BuiltInDocumentProperties
'Set the Title
builtInDocumentProperties.Title = "Presentation Title"
'Save the presentation.
presentation__1.Save("Title.pptx")
'Close the presentation.
presentation__1.Close()
Version
Gets or sets the version.
Declaration
string Version { get; set; }
Property Value
Type |
---|
System.String |
Examples
//Create a new presentation.
IPresentation presentation = Presentation.Create();
//Retrieve the built in document properties from the presentation.
IBuiltInDocumentProperties builtInDocumentProperties = presentation.BuiltInDocumentProperties;
//Set the version.
builtInDocumentProperties.Version = "1";
//Save the presentation.
presentation.Save("Version.pptx");
//Close the presentation.
presentation.Close();
'Create a new presentation.
Dim presentation__1 As IPresentation = Presentation.Create()
'Retrieve the built in document properties from the presentation.
Dim builtInDocumentProperties As IBuiltInDocumentProperties = presentation__1.BuiltInDocumentProperties
'Set the version.
builtInDocumentProperties.Version = "1"
'Save the presentation.
presentation__1.Save("Version.pptx")
'Close the presentation.
presentation__1.Close()
WordCount
Gets or sets the word count.
Declaration
int WordCount { get; set; }
Property Value
Type |
---|
System.Int32 |
Examples
//Create a new presentation.
IPresentation presentation = Presentation.Create();
//Retrieve the built in document properties from the presentation.
IBuiltInDocumentProperties builtInDocumentProperties = presentation.BuiltInDocumentProperties;
//Set the word count.
builtInDocumentProperties.WordCount = 551;
//Save the presentation.
presentation.Save("WordCount.pptx");
//Close the presentation.
presentation.Close();
'Create a new presentation.
Dim presentation__1 As IPresentation = Presentation.Create()
'Retrieve the built in document properties from the presentation.
Dim builtInDocumentProperties As IBuiltInDocumentProperties = presentation__1.BuiltInDocumentProperties
'Set the word count.
builtInDocumentProperties.WordCount = 551
'Save the presentation.
presentation__1.Save("WordCount.pptx")
'Close the presentation.
presentation__1.Close()