Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

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

(This is not supported for charts.)

Signature
C#C#
Wiki Markup
{description}
{excerpt}Sets or returns whether comments on the worksheet should be printed. 

 _(This is not supported for charts.)_{excerpt}
{signature:C#}
 public boolean PrintComments{ get; set; }
Signature
{signature}{signature:vb.net
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.

{signature}
{remarks}
If the comments should be printed at the end of the worksheet, then set the [PrintCommentsAtEnd|PageSetup.PrintCommentsAtEnd] property to true, otherwise the comments will be printed as they are displayed.
{remarks}
{example}{code:csharp|title=C#}

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

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

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

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

{example}
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle