SetGradientShape Method

Structured Graphics Control

Sets a gradient shape to that of a specified shape.

Syntax

HTML<PARAM NAME="Line0005" VALUE="SetGradientShape
(
nPoints, [x0, y0 , x1 , y1 , xN , yN] )">
ScriptingSGObj.SetGradientShape( nPoints, [x0, y0, x1 , y1 , xN , yN] )
FileSetGradientShape( nPoints, [x0, y0, x1 , y1 , xN , yN] )

Parameters

nPoints
Total number of points.
x0, y0 , x1, y1 , xN , yN
The x- and y-coordinate pairs.

Remarks

The begin color is color1 and the end color is color2, as set in the SetFillColor method.


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.