Partager via


Presentation Members (PowerPoint)

Represents a Microsoft PowerPoint presentation.

Methods

Name

Description

AcceptAll

Accepts all changes.

AddTitleMaster

Adds a title master to the specified presentation and returns a Master object that represents the title master.

AddToFavorites

Adds a shortcut that represents the current selection in the specified presentation to the Windows Favorites folder.

ApplyTemplate

Applies a design template to the specified presentation.

ApplyTheme

Applies a theme or design template to the specified presentation.

CanCheckIn

Returns True if Microsoft PowerPoint can check in a specified presentation to a server.

CheckIn

Returns a presentation from a local computer to a server, and sets the local file to read-only so that it cannot be edited locally.

CheckInWithVersion

The description for this member will appear in the final release of Office 14.

Close

Closes the specified presentation.

Convert2

Converts a file to a different file type.

CreateVideo

Creates a video in a Presentation object.

EndReview

Ends the review cycle.

EnsureAllMediaUpgraded

Ensures that all media is up to date in a Presentation object.

Export

Exports each slide in the presentation, using the specified graphics filter, and saves the exported files in the specified folder.

ExportAsFixedFormat

Publishes a copy of a Microsoft PowerPoint presentation as a file in a fixed format, either PDF or XPS.

FollowHyperlink

Displays a cached document, if it has already been downloaded. Otherwise, this method resolves the hyperlink, downloads the target document and displays it in the appropriate application.

GetWorkflowTasks

Returns the Microsoft Office WorkflowTasks collection.

GetWorkflowTemplates

Returns the Microsoft Office WorkflowTemplates collection.

LockServerFile

Locks the presentation on the Microsoft SharePoint Server to prevent its modification.

Merge

Merges one table cell with another. The result is a single table cell.

MergeWithBaseline

Merges a presentation into another presentation.

NewWindow

Opens a new window that contains the specified presentation. Returns a DocumentWindow object that represents the new window.

PrintOut

Prints the specified presentation.

PublishSlides

Creates a Web presentation (in HTML format) containing slides from any loaded presentation. You can view the published presentation in a Web browser.

RejectAll

Rejects all changes.

ReloadAs

Reloads a presentation based on a specified HTML document encoding.

RemoveDocumentInformation

Removes document information, such as personal information, comments, and document properties, from a Microsoft PowerPoint presentation.

Save

Saves the specified presentation.

SaveAs

Saves a presentation that's never been saved, or saves a previously saved presentation under a different name.

SaveCopyAs

Saves a copy of the specified presentation to a file without modifying the original.

SendFaxOverInternet

Sends a presentation as a fax to the specified recipients.

SetPasswordEncryptionOptions

Sets the options Microsoft PowerPoint uses for encrypting presentations with passwords.

UpdateLinks

Updates linked OLE objects in the specified presentation.

WebPagePreview

Shows a preview of the presentation in the active Web browser.

Properties

Name

Description

Application

Returns an Application object that represents the creator of the specified object.

Broadcast

Returns the Broadcast object of the current Presentation object. Read-only.

BuiltInDocumentProperties

Returns a DocumentProperties collection that represents all the built-in document properties for the specified presentation. Read-only.

Coauthoring

Returns a Coauthoring object in the current Presentation object. Read-only.

ColorSchemes

Returns a ColorSchemes collection that represents the color schemes in the specified presentation. Read-only.

CommandBars

Returns a CommandBars collection that represents the merged command bar set from the host container application and Microsoft PowerPoint. This property returns a valid object only when the container is a DocObject server, like Microsoft Binder, and PowerPoint is acting as an OLE server. Read-only.

Container

Returns the object that contains the specified embedded presentation. Read-only.

ContentTypeProperties

Returns the Microsoft Office MetaProperties collection that describes the metadata stored in the presentation. Read-only.

CreateVideoStatus

Returns the status of creating a video in the current Presentation. Read-only.

CustomDocumentProperties

Returns a DocumentProperties collection that represents all the custom document properties for the specified presentation. Read-only.

CustomerData

Returns a CustomerData object. Read-only.

CustomXMLParts

Returns a CustomXMLParts object that represents the collection of custom XML parts associated with the specified Presentation object. Read-only.

DefaultLanguageID

Returns or sets the default language of a presentation. Read/write.

DefaultShape

Returns a Shape object that represents the default shape for the presentation. Read-only.

Designs

Returns a Designs object that represents a collection of designs.

DisplayComments

Determines whether comments are displayed in the specified presentation. Read/write.

DocumentInspectors

Returns the Microsoft Office DocumentInspectors collection. Read-only.

DocumentLibraryVersions

Returns a DocumentLibraryVersions collection that represents the collection of versions of a shared presentation that has versioning enabled and that is stored in a document library on a server.

EncryptionProvider

Returns a String that specifies the name of the algorithm encryption provider that Microsoft PowerPoint 2010 uses when encrypting documents. Read/write.

EnvelopeVisible

Determines whether the e-mail message header is visible in the document window. Read/write.

ExtraColors

Returns an ExtraColors object that represents the extra colors available in the specified presentation. Read-only.

FarEastLineBreakLanguage

Returns or sets the language used to determine which line break level is used when the line break control option is turned on. Read/write.

FarEastLineBreakLevel

Returns or sets the line break based upon Asian character level. Read/write.

Final

Determines whether the presentation is marked as final (read-only). Read/write.

Fonts

Returns a Fonts collection that represents all fonts used in the specified presentation. Read-only.

FullName

Returns the name of the specified add-in or saved presentation, including the path, the current file system separator, and the file name extension. Read-only String.

GridDistance

Sets or returns a Single that represents the distance between gridlines. Read/write.

HandoutMaster

Returns a Master object that represents the handout master. Read-only.

HasHandoutMaster

Indicates whether the presentation has media that resides on a handout master. Read-only

HasNotesMaster

Indicates whether the presentation has media that resides on a notes master. Read-only.

HasTitleMaster

MsoTrue if the specified presentation has a title master. Read-only.

HasVBProject

Returns whether the active presentation contains a Microsoft Visual Basic for Applications (VBA) project. Read-only.

InMergeMode

Indicates whether the document window is in merge mode. Read-only

LayoutDirection

Returns or sets the layout direction for the user interface. Read/write.

Name

The name of the presentation includes the file name extension (for file types that are registered) but doesn't include its path. You cannot use this property to set the name. Use the SaveAs method to save the presentation under a different name if you need to change the name. Read-only.

NoLineBreakAfter

Returns or sets the characters that cannot end a line. Read/write.

NoLineBreakBefore

Returns or sets the characters that cannot begin a line. Read/write.

NotesMaster

Returns a Master object that represents the notes master. Read-only.

PageSetup

Returns a PageSetup object whose properties control slide setup attributes for the specified presentation. Read-only.

Parent

Returns the parent object for the specified object.

Password

Returns or sets the password that must be supplied to open the specified presentation. Read/write.

PasswordEncryptionAlgorithm

Returns the algorithm Microsoft PowerPoint uses for encrypting documents with passwords. Read-only.

PasswordEncryptionFileProperties

Returns whether Microsoft PowerPoint encrypts file properties for password-protected documents. Read-only.

PasswordEncryptionKeyLength

Returns the key length of the algorithm Microsoft PowerPoint uses when it encrypts documents with passwords. Read-only.

PasswordEncryptionProvider

Returns the name of the algorithm encryption provider that Microsoft PowerPoint uses when it encrypts documents with passwords. Read-only.

Path

Returns a String that represents the path to the specified Presentation object. Read-only.

Permission

Returns a Permission object that can be used to restrict permissions to the active presentation and to return or set specific permissions settings. Read-only.

NoteNote
Use of the Permission object raises an error if the Windows Rights Management client is not installed.

PrintOptions

Returns a PrintOptions object that represents print options that are saved with the specified presentation. Read-only.

PublishObjects

Returns a PublishObjects collection that represents the set of complete or partial loaded presentations that are available to publish to HTML. Read-only.

ReadOnly

Returns whether the specified presentation is read-only. Read-only.

RemovePersonalInformation

Determines whether Microsoft PowerPoint should remove all user information from comments and revisions upon saving a presentation. Read/write.

Research

Returns a Research object that provides access to the research service feature of Microsoft PowerPoint. Read-only.

Saved

Determines whether changes have been made to a presentation since it was last saved. Read/write.

SectionProperties

Returns a SectionProperties object. Read-only.

ServerPolicy

Returns a Microsoft Office ServerPolicy object. Read-only.

SharedWorkspace

Returns a SharedWorkspace object that represents the Document Workspace in which a specified presentation is located. Read-only.

Signatures

Returns a SignatureSet object that represents a collection of digital signatures. Read-only.

SlideMaster

Returns a Master object that represents the slide master.

Slides

Returns a Slides collection that represents all slides in the specified presentation. Read-only.

SlideShowSettings

Returns a SlideShowSettings object that represents the slide show settings for the specified presentation. Read-only.

SlideShowWindow

Returns a SlideShowWindow object that represents the slide show window in which the specified presentation is running. Read-only.

SnapToGrid

Determines whether to snap shapes to the gridlines in the specified presentation. Read/write.

Sync

Returns a Sync object that enables you to manage the synchronization of the local and server copies of a shared presentation stored in a Microsoft Office SharePoint server shared workspace. Read-only.

Tags

Returns a Tags object that represents the tags for the specified object. Read-only.

TemplateName

Returns the name of the design template associated with the specified presentation. Read-only.

TitleMaster

Returns a Master object that represents the title master for the specified presentation.

VBASigned

Determines whether the Visual Basic for Applications (VBA) project for the specified document has been digitally signed. Read-only.

VBProject

Returns a VBProject object that represents the individual Visual Basic project for the presentation. Read-only.

WebOptions

Returns the WebOptions object, which contains presentation-level attributes used by Microsoft PowerPoint when you save or publish a complete or partial presentation as a Web page or open a Web page. Read-only.

Windows

Returns a DocumentWindows collection that represents all document windows associated with the specified presentation. Read-only.

WritePassword

Sets or returns the password for saving changes to the specified document. Read/write.