Click or drag to resize

IMcDisplayFillPattern Property

The pattern to use for fill when the image does not cover the display area.

Namespace:  MediaCy.IQL.Display.Viewer
Assembly:  MediaCy.IQL.Display.Viewer (in MediaCy.IQL.Display.Viewer.dll) Version: 10.0.6912.0
Syntax
VB
Property FillPattern As mcFillPattern
	Get
	Set

Property Value

Type: mcFillPattern
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.
Note Note
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).
Examples
VB
'Example 1: Set the fill to the default crosshatched black on white
FillPattern = mcfpDiagCross
FillColors = vbBlack '&H000000& foreground to black, background to white
'Example 2: Set the fill to black on green crosses
FillPattern = mcfpCross
FillColors = vbBlack '&H000000& set foreground to black, background to white
FillColors( mcwfcBackground) = vbGreen '&H00FF00&, THEN set background to green
'Example 3: Set the fill to solid white
FillPattern = mcfpSolid
FillColors = vbWhite '&HFFFFFF&, foreground to white (also sets background
'to black, but background color is ignored for FillPattern mcfpSolid
See Also