HyperWorks Desktop

*SetGradiantType()

Specifies the gradient type.

*SetGradiantType()

Specifies the gradient type.

Previous topic Next topic No expanding text in this topic  

*SetGradiantType()

Specifies the gradient type.

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Syntax

*SetGradientType(type)

Argument

Name

Description

 

type

The gradient type.

0 = vertical (color1 on top, color2 on bottom).

1 = 121 (color1 on top and bottom, with color2 in the middle).

2 = diagonal1 (color1 at the top/left corner, color2 at the bottom/right).

3 = diagonal2 (color1 at the top/right, color2 at the bottom/left).

Example

*BeginGraphicDefaults()

  *SetGradientType(2)

*EndGraphicDefaults()

Application

HyperView

Context

*BeginDefaults()

*BeginGraphicDefaults()

See also

 

*BeginGraphicDefaults()

*EndGraphicDefaults()

List of Preference Statements