Partager via


_Presentation Members

Include Protected Members
Include Inherited Members

A primary interface in a COM coclass that managed code requires to interoperate with the corresponding COM object. Use this primary interface to disambiguate when a method and an event on the COM object share the same name. Cast to this interface to call the method; cast to the latest events interface to connect to the event. Otherwise, use the interface in the Microsoft® .NET Framework that is derived from the COM coclass to access methods, properties, and events of the COM object.

For information about the COM object, see Presentation.

The _Presentation type exposes the following members.

Properties

  Name Description
Public property Application Returns an Application object that represents the creator of the specified object.
Public property Broadcast Returns the Broadcast object of the current Presentation object. Read-only.
Public property BuiltInDocumentProperties Returns a DocumentProperties collection that represents all the built-in document properties for the specified presentation. Read-only.
Public property Coauthoring Returns a CoAuthoring object in the current Presentation object. Read-only.
Public property ColorSchemes Returns a ColorSchemes collection that represents the color schemes in the specified presentation. Read-only.
Public property 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.
Public property Container Returns the object that contains the specified embedded presentation. Read-only.
Public property ContentTypeProperties Returns the Microsoft OfficeMetaProperties collection that describes the metadata stored in the presentation. Read-only.
Public property CreateVideoStatus Returns the status of creating a video in the current Presentation. Read-only.
Public property CustomDocumentProperties Returns a DocumentProperties collection that represents all the custom document properties for the specified presentation. Read-only.
Public property CustomerData Returns a CustomerData object. Read-only.
Public property CustomXMLParts Returns a CustomXMLParts object that represents the collection of custom XML parts associated with the specified Presentation object. Read-only.
Public property DefaultLanguageID Returns or sets the default language of a presentation. Read/write.
Public property DefaultShape Returns a Shape object that represents the default shape for the presentation. Read-only.
Public property Designs Returns a Designs object that represents a collection of designs.
Public property DisplayComments Determines whether comments are displayed in the specified presentation. Read/write.
Public property DocumentInspectors Returns the Microsoft OfficeDocumentInspectors collection. Read-only.
Public property 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.
Public property EncryptionProvider Returns a value that specifies the name of the algorithm encryption provider that Microsoft PowerPoint 2010 uses when encrypting documents. Read/write.
Public property EnvelopeVisible Determines whether the e-mail message header is visible in the document window. Read/write.
Public property ExtraColors Returns an ExtraColors object that represents the extra colors available in the specified presentation. Read-only.
Public property 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.
Public property FarEastLineBreakLevel Returns or sets the line break based upon Asian character level. Read/write.
Public property Final Determines whether the presentation is marked as final (read-only). Read/write.
Public property Fonts Returns a Fonts collection that represents all fonts used in the specified presentation. Read-only.
Public property 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.
Public property GridDistance Sets or returns a value that represents the distance between gridlines. Read/write.
Public property HandoutMaster Returns a Master object that represents the handout master. Read-only.
Public property HasHandoutMaster Indicates whether the presentation has media that resides on a handout master. Read-only.
Public property HasNotesMaster Indicates whether the presentation has media that resides on a notes master. Read-only.
Public property HasRevisionInfo Reserved for internal use.
Public property HasSections Reserved for internal use.
Public property HasTitleMaster msoTrue if the specified presentation has a title master. Read-only.
Public property HasVBProject Returns whether the active presentation contains a Microsoft Visual Basic for Applications (VBA) project. Read-only.
Public property HTMLProject Reserved for internal use.
Public property InMergeMode Indicates whether the document window is in merge mode. Read-only.
Public property LayoutDirection Returns or sets the layout direction for the user interface. Read/write.
Public property 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(String, PpSaveAsFileType, MsoTriState) method to save the presentation under a different name if you need to change the name. Read-only.
Public property NoLineBreakAfter Returns or sets the characters that cannot end a line. Read/write.
Public property NoLineBreakBefore Returns or sets the characters that cannot begin a line. Read/write.
Public property NotesMaster Returns a Master object that represents the notes master. Read-only.
Public property PageSetup Returns a PageSetup object whose properties control slide setup attributes for the specified presentation. Read-only.
Public property Parent Returns the parent object for the specified object.
Public property Password Returns or sets the password that must be supplied to open the specified presentation. Read/write.
Public property PasswordEncryptionAlgorithm Returns the algorithm Microsoft PowerPoint uses for encrypting documents with passwords. Read-only.
Public property PasswordEncryptionFileProperties Returns whether Microsoft PowerPoint encrypts file properties for password-protected documents. Read-only
Public property PasswordEncryptionKeyLength Returns the key length of the algorithm Microsoft PowerPoint uses when it encrypts documents with passwords. Read-only.
Public property PasswordEncryptionProvider Returns the name of the algorithm encryption provider that Microsoft PowerPoint uses when it encrypts documents with passwords. Read-only.
Public property Path Returns a value that represents the path to the specified Presentation object. Read-only.
Public property 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.
Public property PrintOptions Returns a PrintOptions object that represents print options that are saved with the specified presentation. Read-only.
Public property PublishObjects Returns a PublishObjects collection that represents the set of complete or partial loaded presentations that are available to publish to HTML. Read-only.
Public property ReadOnly Returns whether the specified presentation is read-only. Read-only.
Public property RemovePersonalInformation Determines whether Microsoft PowerPoint should remove all user information from comments and revisions upon saving a presentation. Read/write.
Public property Research Returns a Research object that provides access to the research service feature of Microsoft PowerPoint. Read-only.
Public property Saved Determines whether changes have been made to a presentation since it was last saved. Read/write.
Public property SectionCount Reserved for internal use.
Public property SectionProperties Returns a SectionProperties object. Read-only.
Public property ServerPolicy Returns a ServerPolicy object for Microsoft Office. Read-only.
Public property SharedWorkspace Returns a SharedWorkspace object that represents the Document Workspace in which a specified presentation is located. Read-only.
Public property Signatures Returns a SignatureSet object that represents a collection of digital signatures. Read-only.
Public property SlideMaster Returns a Master object that represents the slide master.
Public property Slides Returns a Slides collection that represents all slides in the specified presentation. Read-only.
Public property SlideShowSettings Returns a SlideShowSettings object that represents the slide show settings for the specified presentation. Read-only.
Public property SlideShowWindow Returns a SlideShowWindow object that represents the slide show window in which the specified presentation is running. Read-only.
Public property SnapToGrid Determines whether to snap shapes to the gridlines in the specified presentation. Read/write.
Public property 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 SharePoint Server shared workspace. Read-only.
Public property Tags Returns a Tags object that represents the tags for the specified object. Read-only.
Public property TemplateName Returns the name of the design template associated with the specified presentation. Read-only.
Public property TitleMaster Returns a Master object that represents the title master for the specified presentation.
Public property VBASigned Determines whether the Visual Basic for Applications (VBA) project for the specified document has been digitally signed. Read-only.
Public property VBProject Returns a VBProject object that represents the individual Visual Basic project for the presentation. Read-only.
Public property 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 webpage. Read-only.
Public property Windows Returns a DocumentWindows collection that represents all document windows associated with the specified presentation. Read-only.
Public property WritePassword Sets or returns the password for saving changes to the specified document. Read/write.

Top

Methods

  Name Description
Public method AcceptAll Accepts all changes.
Public method AddBaseline Reserved for internal use.
Public method AddTitleMaster Adds a title master to the specified presentation and returns a Master object that represents the title master.
Public method AddToFavorites Adds a shortcut that represents the current selection in the specified presentation to the Windows Favorites folder.
Public method ApplyTemplate Applies a design template to the specified presentation.
Public method ApplyTheme Applies a theme or design template to the specified presentation.
Public method CanCheckIn Returns true if Microsoft PowerPoint can check in a specified presentation to a server.
Public method 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.
Public method CheckInWithVersion 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.
Public method Close Closes the specified presentation.
Public method Convert Reserved for internal use.

Converts a diagram to a different diagram type.
Public method Convert2 Converts a file to a different file type.
Public method CreateVideo Creates a video in a Presentation object.
Public method DeleteSection Reserved for internal use.
Public method DisableSections Reserved for internal use.
Public method EndReview Ends the review cycle.
Public method EnsureAllMediaUpgraded Ensures that all media is up to date in a Presentation object.
Public method Export Exports each slide in the presentation, using the specified graphics filter, and saves the exported files in the specified folder.
Public method ExportAsFixedFormat Publishes a copy of a Microsoft PowerPoint presentation as a file in a fixed format, either PDF or XPS.
Public method 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.
Public method GetWorkflowTasks Returns the WorkflowTasks collection for Microsoft Office.
Public method GetWorkflowTemplates Returns the WorkflowTemplates collection for Microsoft Office.
Public method LockServerFile Locks the presentation on the Microsoft Office SharePoint server to prevent its modification.
Public method MakeIntoTemplate Reserved for internal use.
Public method Merge Merges one table cell with another. The result is a single table cell.
Public method MergeWithBaseline Merges a presentation into another presentation.
Public method NewSectionAfter Reserved for internal use.
Public method NewWindow Opens a new window that contains the specified presentation. Returns a DocumentWindow object that represents the new window.
Public method PrintOut Prints the specified presentation.
Public method PublishSlides Creates a Web presentation (in HTML format) containing slides from any loaded presentation. You can view the published presentation in a Web browser.
Public method RejectAll Rejects all changes.
Public method ReloadAs Reloads a presentation based on a specified HTML document encoding.
Public method RemoveBaseline Reserved for internal use.
Public method RemoveDocumentInformation Removes document information, such as personal information, comments, and document properties, from a Microsoft PowerPoint presentation.
Public method ReplyWithChanges Reserved for internal use.
Public method Save Saves the specified presentation.
Public method SaveAs Saves a presentation that's never been saved, or saves a previously saved presentation under a different name.
Public method SaveCopyAs Saves a copy of the specified presentation to a file without modifying the original.
Public method sblt Reserved for internal use.
Public method sectionTitle Reserved for internal use.
Public method SendFaxOverInternet Sends a presentation as a fax to the specified recipients.
Public method SendForReview Reserved for internal use.
Public method SetPasswordEncryptionOptions Sets the options Microsoft PowerPoint uses for encrypting presentations with passwords.
Public method SetUndoText Reserved for internal use.
Public method Unused
Public method UpdateLinks Updates linked OLE objects in the specified presentation.
Public method WebPagePreview Shows a preview of the presentation in the active Web browser.

Top

See Also

Reference

_Presentation Interface

Microsoft.Office.Interop.PowerPoint Namespace