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:

PartDescription
objectAn expression evaluating to an object of type McDisplay.
valueA mcFillPattern enumeration, as described in settings.

Settings

The settings for value are:

ConstantValueDescription
 mcfpSolid0

Solid fill with FillColors(mcwfcForeground).

 mcfpBDiagonal1

45-degree upward left-to-right hatch

 mcfpCross2

Horizontal and vertical crosshatch

 mcfpDiagCross3

45-degree crosshatch

 mcfpFDiagonal4

45-degree downward left-to-right hatch

 mcfpHorizontal5

Horizontal hatch

 mcfpVertical6

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).