PageSetup.PrintGridlines Property

True if cell gridlines are printed on the page. Applies only to worksheets.

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

Syntax

'Declaration
Property PrintGridlines As Boolean
    Get
    Set
'Usage
Dim instance As PageSetup
Dim value As Boolean

value = instance.PrintGridlines

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

Property Value

Type: System.Boolean

See Also

Reference

PageSetup Interface

PageSetup Members

Microsoft.Office.Interop.Excel Namespace