Partager via


PublishObject.SourceType Property

Returns or sets the source type of the presentation to be published to HTML. Read/write.

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

Syntax

'Declaration
Property SourceType As PpPublishSourceType
    Get
    Set
'Usage
Dim instance As PublishObject
Dim value As PpPublishSourceType

value = instance.SourceType

instance.SourceType = value
PpPublishSourceType SourceType { get; set; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.PpPublishSourceType

Remarks

The value of the SourceType property can be one of the following PpPublishSourceType constants:

ppPublishAll

ppPublishNamedSlideShow

ppPublishSlideRange

Use the ppPublishNamedSlideShow value to publish a custom slide show, specifying the name of the custom slide show by using the SlideShowName property.

See Also

Reference

PublishObject Interface

PublishObject Members

Microsoft.Office.Interop.PowerPoint Namespace