GetGradientBackground Method (IModelNamedView) Send Feedback
See Also 
GradientBackground[out]
Gradient background
Gets the gradient background for the model named view.

Syntax

Visual Basic 
Function GetGradientBackground() As GradientBackground
C# 
GradientBackground GetGradientBackground()
JavaScript 
GetGradientBackground() : dsGradientBackground
COM native C++ 
HRESULT GetGradientBackground(
   IGradientBackground** GradientBackground
)  
C++ 
DSRESULT GetGradientBackground(
   dsGradientBackground** GradientBackground
)  

Parameters

GradientBackground[out] or Return Value
Gradient background

Remarks

Before calling this method, call IModelNamedView::GetBackgroundType to see if the background type is set to dsViewBackgroundType_e.dsViewBackgroundTypeGradient. If the background type is set to a different type of background, then this method returns null or nothing.
 

See Also

Availability

DraftSight V1R5.0