PSGetFillPattern()

Syntax

Function PSGetFillPattern()
TPageScript:GetFillPattern
()

Returns

An Integer value.

Description

PSGetFillPattern() returns the default fill pattern used by PageScript 32 when drawing shapes such as Frames and Ellipses. Possible values are :

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

If you call this function when not printing, the default value is returned.

Arguments

None