Description
Sets or returns whether comments on the worksheet should be printed.
(This is not supported for charts.)
C#
public boolean PrintComments{ get ; set ; } |
vb.net
Public Property PrintComments() As Boolean |
Remarks
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.Examples
C#
//--- Get PrintComments bool prntComments = ps.PrintComments //--- Set PrintComments ps.PrintComments = true ; |
vb.net
'--- Get PrintComments Dim prntComments As Boolean = ps.PrintComments '--- Set PrintComments ps.PrintComments = True |