Back to Devexpress

SubDocument.SetPageBackground(Color) Method

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

latest1.8 KB
Original Source

SubDocument.SetPageBackground(Color) Method

Set 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(
    Color pageBackColor
)
vb
Sub SetPageBackground(
    pageBackColor As Color
)

Parameters

NameTypeDescription
pageBackColorColor

A Color structure specifying the color.

|

Remarks

To show the page background, use the SubDocument.SetPageBackground method overload that specifies the showPageBackground parameter.

See Also

PageBackColor

ShowPageBackground

EnablePageBackgroundOnPrint

SubDocument Interface

SubDocument Members

DevExpress.XtraRichEdit.API.Native Namespace