Sets or returns whether comments on the worksheet should be printed.

(This is not supported for charts.)

 public boolean PrintComments{ get; set; }
Public Property PrintComments() As Boolean

If the comments should be printed at the end of the worksheet, then set the PrintCommentsAtEnd property to true, otherwise the comments will be printed as they are displayed.


          //--- Get PrintComments
          bool prntComments = ps.PrintComments

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

          '--- Get PrintComments
          Dim prntComments As Boolean = ps.PrintComments

          '--- Set PrintComments
          ps.PrintComments = True