Skip to main content
A newer version of this page is available. .

XlPageSetup.CommentsPrintMode Property

Gets or sets how comments contained in a worksheet are printed.

Namespace: DevExpress.Export.Xl

Assembly: DevExpress.Printing.v20.2.Core.dll

NuGet Packages: DevExpress.Printing.Core, DevExpress.WindowsDesktop.Printing.Core

Declaration

public XlCommentsPrintMode CommentsPrintMode { get; set; }

Property Value

Type Description
XlCommentsPrintMode

One of the XlCommentsPrintMode enumeration values.

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 at the end of a worksheet printout.

None

Cell comments are not printed.

Remarks

To specify page options for a worksheet, set the IXlSheet.PageSetup property to an instance of the XlPageSetup class that controls the page orientation, paper size, scaling options, printing DPI and other settings. For more information on how to adjust page formatting options, refer to the How to: Specify Print Settings article.

See Also