Description
Set color blending on the selected objects, using the objects original color as the starting color, and the color specified in this command as ending color.
Note: this command has no effect on the transparent objects (with no color).
Syntax
Page.ObjSetPaperGradient (int1, str2, int3, int4) |
int1
1 for the linear blend
2 for the circular blend.
str2
The ending color name, e.g. "M"
int3
The ending color tint, e.g. 100.
int4
Rotation angle for linear blend in tenths of degree, e.g. 0 for vertical blend, or 900 for horizontal blend.
Remarks
Returns error code.
Examples
Page.objsetpapercolor ("Y",100) Page.ObjSetPaperGradient (1, "M", 100, 900)
Page.(objsetpapercolor "Y",100) Page.ObjSetPaperGradient (1, "M", 100, 0)
Page.objsetpapercolor ("Y",100) Page.ObjSetPaperGradient (2, "M", 100, 0) |
Context
Page designer
See also
ObjSetBorderColor Function, ObjSetPaperColor Function, GetObjColor