Field_SetPattern()

Examples


The Field_SetPattern() function sets the pattern used for a field.

Syntax

Field_SetPattern(field, pattern)

Parameters

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:

[spacer]

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


Return value

A boolean. True indicates the pattern was set, while false indicates it was not.


Documentation Feedback