共用方式為


SlideRange.DisplayMasterShapes Property

Determines whether the specified range of slides displays the background objects on the slide master. Read/write.

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

Syntax

'Declaration
Property DisplayMasterShapes As MsoTriState
    Get
    Set
'Usage
Dim instance As SlideRange
Dim value As MsoTriState

value = instance.DisplayMasterShapes

instance.DisplayMasterShapes = value
MsoTriState DisplayMasterShapes { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoTriState

Remarks

The value of the DisplayMasterShapes property can be one of these MsoTriState constants.

Constant

Description

msoFalse

The specified range of slides does not display the background objects on the slide master.

msoTrue

The specified range of slides displays the background objects on the slide master. These background objects can include text, drawings, OLE objects, and clip art you add to the slide master. Headers and footers are not included.

See Also

Reference

SlideRange Interface

SlideRange Members

Microsoft.Office.Interop.PowerPoint Namespace