[Visual
Basic] imagekitcontrolname.InvalidHatchPattern
[= InvalidHatchConstants ]
[Visual
C++] [long =
]imagekitcontrolname.GetInvalidHatchPattern()
imagekitcontrolname.SetInvalidHatchPattern(long Val)
imagekitcontrolname.SetInvalidHatchPattern(long Val)
Property Value
Value | Explanation |
---|---|
0 | Does not display the hatch pattern, instead, the color set in the BackColor property is used. |
1 | Displays the hatch pattern. |
2 | Does not display the hatch pattern, instead, the area is set to transparent. (Enabled when the image is displayed in scale display mode.) |
It is also possible to use the following constants in Visual Basic (ikNonHatch = 0, ikShowHatch = 1, ikTransparentHatch = 2).
Explanation
This is the pattern that is displayed in that portion of the ImageKit control not covered by an image. You can see this pattern most clearly before you load an image. The default value is 1(ikShowHatch). When the InvallidHatchPattern property is set to 1(ikShowHatch), the hatch pattern is displayed in the color set in the InvalidHatchColor property.
Setting this value
This value can be set at design-time and run-time.Retrieving this value
This value can be retrieved at run-time.