API Documentation > CorelDRAW > 2025-v26 > Page > IVGPage
Page.Background property
Gets or sets the Page's Background type
Syntax:
Property Get Background() As cdrPageBackground
Property Let Background(ByVal Value As cdrPageBackground)
Remarks:
The Background property returns or specifies the type of background for a page. The Background property returns a value of cdrPageBackground. A background can contain a bitmap image, a solid fill, or nothing at all.
Examples:
The following VBA example displays the type of background for the specified page.
Sub Test()
Select Case ActiveDocument.Pages(0).Background
  Case cdrPageBackgroundNone

 MsgBox "No page background"
  Case cdrPageBackgroundSolid

 MsgBox "Solid color background"
  Case cdrPageBackgroundBitmap

 MsgBox "Bitmap page background"
End Select 
End Sub