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

Article 60000427
Type Wish
Product Engine
Version 6011
Date Added 2/23/2008
Fixed (3/1/2008)
Submitted by David VanSlyke

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.



 


Send comments on this topic.