| 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
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.
IModelNamedView Interface
IModelNamedView Members
IViewManager::CreateGradientBackground Method ()
IModelNamedView::RemoveBackground Method ()
IModelNamedView Members
IViewManager::CreateGradientBackground Method ()
IModelNamedView::RemoveBackground Method ()
DraftSight V1R5.0
Syntax