Visit Gigasoft's Web Site
 ProEssentials v9 Help

GraphBackgroundImage

Scope

Pego, Pesgo, Pe3do, Pepso, Pepco

Type

System.Drawing.Image

Default

empty

.NET

PeColor.GraphBackgroundImage

Ocx|Vcl

NA - unique to .NET interfaces

DLL

NA - unique to .NET interfaces

 

Purpose

Gets and Sets an Image used behind the grid or chart area. This property is only enabled if PeColor.BitmapGradientMode is True, PeColor.GraphBackground = Color.Empty, and PeColor.GraphBmpStyle is non-zero.

 

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

 

For Pego and Pesgo controls with multiple y axes, the state of WorkingAxis controls which axis is accessed.

 

Comments

PeColor.GraphBackgroundImage 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.GraphBackgroundImage = MyImage
Pego1.PeColor.BitmapGradientMode = True
Pego1.PeColor.GraphBackground = Color.Empty
Pego1.PeColor.GraphBmpStyle = Gigasoft.ProEssentials.Enums.BitmapStyle.StretchBlt