VpeSetBkgGradientTriColor

<< Click to Display Table of Contents >>

Navigation:  Drawing Functions >

VpeSetBkgGradientTriColor

Previous pageReturn to chapter overviewNext page

[Not supported by the Community Edition]

Activates / deactivates the tri-color gradient mode. If activated, you can specify a third middle color, so the gradient is drawn from the start color to the middle color and then to the end color. This allows to draw nice three-dimensional gradients.

void VpeSetBkgGradientTriColor(

VpeHandle hDoc,

int on_off

)

VpeHandle hDoc

Document Handle or VPE Object Handle

int on_off

Value

Description

True

On

False

Off

Default:

False

Remarks:

Tri-color gradients can only be used, when the Background Mode is set to VBKG_GRD_LINE.