Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

PrintingOptions.EnableCommentBackgroundOnPrint Property

Gets or sets whether to print the background of the document’s margin containing comment balloons.

Namespace: DevExpress.XtraRichEdit

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

NuGet Package: DevExpress.RichEdit.Core

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public bool EnableCommentBackgroundOnPrint { get; set; }

Property Value

Type Default Description
Boolean **true**

True, to print the background of the document’s margin; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to EnableCommentBackgroundOnPrint
WinForms Controls SnapControlOptions
.Printing .EnableCommentBackgroundOnPrint
RichEditControlOptions
.Printing .EnableCommentBackgroundOnPrint
WPF Controls RichEditControlOptions
.Printing .EnableCommentBackgroundOnPrint
Office File API RichEditControlOptionsBase
.Printing .EnableCommentBackgroundOnPrint

Remarks

When the EnableCommentBackgroundOnPrint is set to true, the comment balloons are printed on a gray background, as illustrated in the following image.

rich-edit-comment-printoptions-true

See Also