Share via


SourceType Property

PpPublishSourceType

PpPublishSourceType can be one of these PpPublishSourceType constants.
ppPublishAll
ppPublishNamedSlideShow Use this value to publish a custom slide show, specifying the name of the custom slide show with the SlideShowName property.
ppPublishSlideRange

expression.SourceType

*expression   * Required. An expression that returns one of the objects in the Applies To list.

Example

This example publishes the specified slide range (slides three through five) of the active presentation to HTML. It names the published presentation Mallard.htm.

With ActivePresentation.PublishObjects(1)
    .FileName = "C:\Test\Mallard.htm"
    .SourceType = ppPublishSlideRange
    .RangeStart = 3
    .RangeEnd = 5
    .Publish
End With

Applies to | PublishObject Object

See Also | Publishing a Web Presentation | RangeEnd Property | RangeStart Property