共用方式為


Presentation Members

Include Protected Members
Include Inherited Members

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

Top

Methods

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

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

Top

See Also

Reference

Presentation Interface

Microsoft.Office.Interop.PowerPoint Namespace