SetBackground     Procedure (Sub)

Public Sub SetBackground(Color1 As Long, Optional Color2 As Long = -1, Optional Style As Integer, Optional angle As Single = -1)

Set the background color as a single color or angled gradient. 2=Star pattern; 3=square pattern; 4=rotary wipe 1; 5=rotary wipe 2; 6=spotlight.

ParameterTypeDescription

Color1

Long

First color in gradient

Color2

Long

Second color in gradient (omit this and further parameters for a single color instead of a gradient)

Style

Integer

Gradient style: 0=Color2 center fading to Color1 at edges; 1=Color1 to Color 2 diagonal wipe;

angle

Single

Angle

Example..

Call ecGraph3D1.SetBackground(vbRed)
 


      Contents     Variables     Events     Properties     Functions     Subs

ecGraph3D    Copyright © 2008, Encore Consulting Pty Ltd