Description
The pattern to use for fill when the image does not cover the display area.
-
Property type
-
A mcFillPattern enumeration.
-
Syntax
-
object.FillPattern [= value]
The FillPattern Property syntax has these parts:
|
| object | An expression evaluating to an object of type McDisplay. |
| value | A mcFillPattern enumeration, as described in settings. |
Settings
The settings for value are:
 | mcfpSolid | 0 |
Solid fill with FillColors(mcwfcForeground).
|
 | mcfpBDiagonal | 1 |
45-degree upward left-to-right hatch
|
 | mcfpCross | 2 |
Horizontal and vertical crosshatch
|
 | mcfpDiagCross | 3 |
45-degree crosshatch
|
 | mcfpFDiagonal | 4 |
45-degree downward left-to-right hatch
|
 | mcfpHorizontal | 5 |
Horizontal hatch
|
 | mcfpVertical | 6 |
Vertical hatch
|
Remarks
When the image will not fully cover the display area, the portion of the display not covered is filled with a pattern. This property sets the pattern; the FillColors property sets the color(s) for the pattern.
The default FillPattern is a diagonal crosshatch (mcfpDiagCross). The default FillColor is black on white.
Notes
Whenever the forground fill color is assigned, the background fill color is automatically set to it's complimentary color (e.g if the foreground color is assigned black, vbBlack or &H000000, then the background color will be white, vbWhite or &HFFFFFF). Thus as shown in Example 2, to set the background to some other color you must assign FillColors(mcwfcBackground) after first doing any assigning to FillColors(mcwfcForeground).