CreateGradientBackground Method (IViewManager)
Creates a gradient background.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function CreateGradientBackground( _
IColor* TopColor As Color, _
IColor* MiddleColor As Color, _
IColor* BottomColor As Color, _
VARIANT_BOOL UseTwoColors As System.Boolean, _
DOUBLE Angle As System.Double _
) As GradientBackground |
Parameters
- TopColor
- Color for the top of the gradient background
- MiddleColor
- Color for the middle of the gradient background
- BottomColor
- Color for the bottom of the gradient background
- UseTwoColors
- True to use TopColor and BottomColor and ignore MiddleColor, false to use TopColor, MiddleColor, and BottomColor
- Angle
- Angle by which to rotate the gradient background
Parameters
- GradientBackground[out] or Return Value
- Gradient background
Example
See Also
Availability
DraftSight V1R5.0