officefileapi-devexpress-dot-spreadsheet-dot-worksheetprintoptions-76c95c69.md
Gets or sets how comments contained in the worksheet are printed.
Namespace : DevExpress.Spreadsheet
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
CommentsPrintMode CommentsPrintMode { get; set; }
Property CommentsPrintMode As CommentsPrintMode
| Type | Description |
|---|---|
| CommentsPrintMode |
A CommentsPrintMode enumeration member.
|
Available values:
| Name | Description |
|---|---|
| AsDisplayed |
Cell comments are printed as they are displayed on a worksheet.
| | AtEnd |
Cell comments are printed in a separate page.
| | None |
Cell comments are not printed.
|
You can access this nested property as listed below:
| Object Type | Path to CommentsPrintMode |
|---|---|
| Worksheet |
.PrintOptions .CommentsPrintMode
|
Note
Currently, the CommentsPrintMode option is not taken into account when printing a document from the Spreadsheet components. However, this property value is saved to a file, so you can use Microsoft® Excel® or another spreadsheet application to load and print a document.
For more information on print options, see the How to: Specify Print Settings example.
See Also
Threaded Comments in Spreadsheet Documents