PSSetFillPattern() |
|
Syntax
Function PSSetFillPattern(FillPattern: Integer)
TPageScript:SetFillPattern(FillPattern: Integer)
Returns
The old value.
Description
Use PSSetFillPattern() to set the default fill pattern for future calls to any PS function that use the fill attributes, like PSFrame() and PSEllipse() and APS_DEFAULT is passed instead of a fill pattern.
Arguments
FillPattern | Fill pattern to set. Must be any of the following values : |
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 |
Only APS_SOLID and APS_CLEAR are supported when printing to a PDF file using the DEV_PDFFILE device. |