Back to Devexpress

SubDocument.SetPageBackground(Boolean) Method

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-subdocument-dot-setpagebackground-x28-system-dot-boolean-x29.md

latest1.8 KB
Original Source

SubDocument.SetPageBackground(Boolean) Method

Shows the background color of the page.

Namespace : DevExpress.XtraRichEdit.API.Native

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
void SetPageBackground(
    bool showPageBackground
)
vb
Sub SetPageBackground(
    showPageBackground As Boolean
)

Parameters

NameTypeDescription
showPageBackgroundBoolean

true to show the background color; otherwise, false.

|

Remarks

To specify the page background color, use the SubDocument.SetPageBackground method overload with the pageBackColor parameter.

See Also

PageBackColor

ShowPageBackground

EnablePageBackgroundOnPrint

SubDocument Interface

SubDocument Members

DevExpress.XtraRichEdit.API.Native Namespace