Visit Gigasoft's Web Site
 ProEssentials v9 Help

DeskBackgroundImage

Scope

Pego, Pesgo, Pe3do, Pepso, Pepco

Type

System.Drawing.Image

Default

empty

.NET

PeColor.DeskBackgroundImage

Ocx|Vcl

NA - unique to .NET interfaces

DLL

NA - unique to .NET interfaces

 

Purpose

Gets and Sets an Image used as the desk area of control. This property is only enabled if PeColor.BitmapGradientMode is True, PeColor.Desk = Color.Empty, and PeColor.DeskBmpStyle is non-zero.

 

This property or PeColor.DeskBmpFilename can be used to assign a bitmap. If both are assigned, this property takes precedence.

 

Comments

PeColor.DeskBackgroundImage members of Pego.PeColor, Pesgo.PeColor, Pe3do.PeColor, Pepso.PeColor, Pepco.PeColor

 

NET Example

The following example shows how to add an image.

Dim MyImage As System.Drawing.Bitmap
MyImage = New System.Drawing.Bitmap("cloud.jpg")

Pego1.PeColor.GeskBackgroundImage = MyImage
Pego1.PeColor.BitmapGradientMode = True
Pego1.PeColor.Desk = Color.Empty
Pego1.PeColor.DeskBmpStyle = Gigasoft.ProEssentials.Enums.BitmapStyle.StretchBlt