Partager via


_Presentation.DisplayComments Property

Determines whether comments are displayed in the specified presentation. Read/write.

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

Syntax

'Declaration
Property DisplayComments As MsoTriState
    Get
    Set
'Usage
Dim instance As _Presentation
Dim value As MsoTriState

value = instance.DisplayComments

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

Property Value

Type: Microsoft.Office.Core.MsoTriState

Remarks

The value returned by the DisplayComments property can be one of these MsoTriState constants.

Constant

Description

msoFalse

Comments are not displayed in the specified presentation.

msoTrue

Comments are displayed in the specified presentation.

See Also

Reference

_Presentation Interface

_Presentation Members

Microsoft.Office.Interop.PowerPoint Namespace