Compartilhar via


WorksheetView.DisplayGridlines Property

True if gridlines are displayed. Read/write.

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

Syntax

'Declaration
Property DisplayGridlines As Boolean
    Get
    Set
'Usage
Dim instance As WorksheetView
Dim value As Boolean

value = instance.DisplayGridlines

instance.DisplayGridlines = value
bool DisplayGridlines { get; set; }

Property Value

Type: System.Boolean
Boolean

Remarks

This property applies only to worksheets and macro sheets.

This property affects only displayed gridlines. Use the PrintGridlines property to control the printing of gridlines.

See Also

Reference

WorksheetView Interface

WorksheetView Members

Microsoft.Office.Interop.Excel Namespace