共用方式為


SlideRange.PublishSlides Method

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

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Sub PublishSlides ( _
    SlideLibraryUrl As String, _
    Overwrite As Boolean, _
    UseSlideOrder As Boolean _
)
'Usage
Dim instance As SlideRange
Dim SlideLibraryUrl As String
Dim Overwrite As Boolean
Dim UseSlideOrder As Boolean

instance.PublishSlides(SlideLibraryUrl, _
    Overwrite, UseSlideOrder)
void PublishSlides(
    string SlideLibraryUrl,
    bool Overwrite,
    bool UseSlideOrder
)

Parameters

  • Overwrite
    Type: System.Boolean
    true if the original presentation should be overwritten.
  • UseSlideOrder
    Type: System.Boolean
    true if the existing slide order should be used in a slide show.

See Also

Reference

SlideRange Interface

SlideRange Members

Microsoft.Office.Interop.PowerPoint Namespace