{description}
{excerpt}Sets or returns whether the row and column headings will be printed for this worksheet.

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

          //--- Get PrintHeadings
          bool prntHeadings = ps.PrintHeadings;

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

          '--- Get PrintHeadings
          Dim prntHeadings As Boolean = ps.PrintHeadings

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

{example}