Page tree
    Created with Raphaël 2.1.0
    Loading...
Skip to end of metadata
Go to start of metadata

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
  • No labels