Sets or returns whether the worksheet's horizontal and vertical cell gridlines will be printed.

(This is not supported for charts.)

<table class="wysiwyg-macro" data-macro-name="unmigrated-wiki-markup" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e3VubWlncmF0ZWQtd2lraS1tYXJrdXB9&amp;locale=en_GB&amp;version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre>
 public boolean PrintGridlines{ get; set; }
</pre></td></tr></table>
<p>Public Property PrintGridlines() As Boolean</p>


          //--- Get PrintGridlines
          bool prntGridlines = ps.PrintGridlines

          //--- Set PrintGridlines
          ps.PrintGridlines = true;
        

          '--- Get PrintGridlines
          Dim prntGridlines As Boolean = ps.PrintGridlines

          '--- Set PrintGridlines
          ps.PrintGridlines = True