The Field_SetPattern() function sets the pattern used for a field.
Field_SetPattern(field, pattern)
• field – The field for which the pattern will be set.
• pattern – An integer specifying the pattern to use. The value corresponds to one of the following constants:
Constant |
Pattern |
Constant |
Pattern |
---|---|---|---|
PATTERN_NONE |
|
PATTERN_VERTICAL |
|
PATTERN_25_SHADING |
|
PATTERN_UP_DIAGONAL |
|
PATTERN_50_SHADING |
|
PATTERN_DOWN_DIAGONAL |
|
PATTERN_75_SHADING |
|
PATTERN_GRID |
|
PATTERN_HORIZONTAL |
|
PATTERN_TRELLIS |
|
A boolean. True indicates the pattern was set, while false indicates it was not.