ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.Direct2D Namespace / RenderTarget Class / CreateLinearGradientBrush Method

In This Topic
    CreateLinearGradientBrush Method
    In This Topic
    HRESULT ID2D1RenderTarget::CreateLinearGradientBrush([In] const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES* linearGradientBrushProperties,[In, Optional] const D2D1_BRUSH_PROPERTIES* brushProperties,[In] ID2D1GradientStopCollection* gradientStopCollection,[Out, Fast] ID2D1LinearGradientBrush** linearGradientBrush)
    Syntax
    'Declaration
     
    Public Function CreateLinearGradientBrush( _
       ByVal linearGradientBrushProperties As LinearGradientBrushProperties, _
       ByVal brushProperties As System.Nullable(Of BrushProperties), _
       ByVal gradientStopCollection As GradientStopCollection _
    ) As LinearGradientBrush
    public LinearGradientBrush CreateLinearGradientBrush( 
       LinearGradientBrushProperties linearGradientBrushProperties,
       System.Nullable<BrushProperties> brushProperties,
       GradientStopCollection gradientStopCollection
    )

    Parameters

    linearGradientBrushProperties
    brushProperties
    gradientStopCollection
    See Also