SetGradientStyle Method (IHatchPattern)

SetGradientStyle Method (IHatchPattern) | Send Feedback
See Also

GradientStyle
  Gradient style as defined in dsHatchGradientStyle_e

Sets the gradient style for this Hatch pattern.

# Syntax

Visual Basic |
--- | ---
    Sub SetGradientStyle( _
       ByVal GradientStyle As dsHatchGradientStyle_e _
    )

C# |
--- | ---
    void SetGradientStyle(
       dsHatchGradientStyle_e GradientStyle
    )

JavaScript |
--- | ---
    SetGradientStyle(
       GradientStyle : String
    )

COM native C++ |
--- | ---
    HRESULT SetGradientStyle(
       dsHatchGradientStyle_e GradientStyle
    )

C++ |
--- | ---
    DSRESULT SetGradientStyle(
       dsHatchGradientStyle_e GradientStyle
    )

#### Parameters

GradientStyle
  Gradient style as defined in dsHatchGradientStyle_e

# Remarks

This method is valid only when IHatchPattern:GetFillType is dsHatchFillType_e.dsHatchFillType_Gradient.

# See Also

####

IHatchPattern Interface
IHatchPattern Members
IHatchPattern::GetGradientStyle Method ()
IHatchPattern::GetGradientData Method ()
IHatchPattern::SetGradientData Method ()

# Availability

DraftSight V1R6.0