Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Wiki Markup
{description}
{excerpt}Sets or returns whether the worksheet's horizontal and vertical cell gridlines will be printed.

 _(This is not supported for charts.)_{excerpt}
{signature:C#}
 public boolean PrintGridlines{ get; set; }
{signature}{signature:vb.net}
Public Property PrintGridlines() As Boolean
{signature}
{example}{code:csharp|title=C#}

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

          //--- Set PrintGridlines
          ps.PrintGridlines = true;
        {code}
{code:vb.net|title=vb.net}

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

          '--- Set PrintGridlines
          ps.PrintGridlines = True
        {code}

{example}