GdipSetLineColors

 

 

Description

Sets the starting color and ending color of this linear gradient brush.

Syntax

GpStatus WINGDIPAPI GdipSetLineColors(

    GpLineGradient *brush,

    ARGB color1,

    ARGB color2

);

PowerBASIC Syntax

DECLARE FUNCTION GdipSetLineColors ( _

    BYVAL brush AS DWORD, _

    BYVAL color1 AS DWORD, _

    BYVAL color2 AS DWORD _

) AS LONG

Parameters

 

brush

[in] Pointer to the LinearGradientBrush object.

color1

[in] ARGB color that specifies the color at the starting boundary line of this linear gradient brush.

color2

[in] ARGB color that specifies the color at the ending boundary line of this linear gradient brush.

 

Valid HTML 4.01 Transitional