PSSetFill() |
|
Syntax
Function PSSetFill(nFillColor, nFillPattern)
TPageScript:SetFill(nFillColor, nFillPattern)
Returns
The old value as an array.
Description
Use PSSetFill() to set the default fill color and fill pattern for future calls to any PS function that use the fill attributes, like PSFrame() and PSEllipse().
Arguments
nFillColor | Fill color to set. May be a predefined PageScript 32 color or a RGB color. |
nFillPattern | A numeric value. See available values below. |
Constant | Value | Description |
APS_SOLID | 0 | Solid |
APS_CLEAR | 1 | Clear (no color / transparent) |
APS_BDIAGONAL | 2 | Backward diagonal |
APS_FDIAGONAL | 3 | Forward diagonal |
APS_CROSS | 4 | Cross |
APS_DIAGCROSS | 5 | Diagonal cross |
APS_HORIZONTAL | 6 | Horizontal |
APS_VERTICAL | 7 | Vertical |