Prod.: Engine, ver.: 6011, ID: 60000427, Wish : Set the background color to be a gradient, fading from one starting color to and ending color

Wish : Set the background color to be a gradient, fading from one starting color to and ending color

Article60000427
TypeWish
ProductEngine
Version6011
Date Added2/23/2008
FixedYes [3/1/2008]
Submitted byDavid VanSlyke
Keywords

Subject

Set the background color to be a gradient, fading from one starting color to and ending color

Summary

Set the background color to be a gradient, fading from one starting color to and ending color

Solution

In version 6012 new properties was added in vdLayout and vdViewport objects:

Get/Set the second color for gradient fading effect of the background.
Default value is Color.Empty which means no gradient color effect.
When this property is not empty then the Background is drawn gradient using the BkColor
fading in to this color.
System.Drawing.Color BkGradientColor

Get/Set the background gradient direction angle in radians.
double BkGradientAngle

You can have different gradient colors in each layout even in each viewport like in the image below.