Partager via


_Application.DisplayGridLines Property

Determines whether to display gridlines in Microsoft PowerPoint. Read/write.

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

Syntax

'Declaration
Property DisplayGridLines As MsoTriState
    Get
    Set
'Usage
Dim instance As _Application
Dim value As MsoTriState

value = instance.DisplayGridLines

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

Property Value

Type: Microsoft.Office.Core.MsoTriState

Remarks

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

Constant

Description

msoFalse

Do not display gridlines.

msoTrue

Display gridlines.

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.PowerPoint Namespace