Returns or sets the color in a bitmap image that should be interpreted as the transparent color. Deprecated property.
object.MaskColor = [value]
from version 11.0. Refer to Deprecated and Obsolete items for additional information.
It is recommended that non-system colors are assigned to this property. If the system colors are specified and they subsequently change, then the color which is transparent will change, making the appearance of your picture unpredictable.
This property is only applicable when the UseMaskColor property is set to True.
If the MaskColor property is specified at run-time, the control will redraw itself with the new color acting as a mask.
The MaskColor property can only be used with bitmap (.bmp) images. JPEG, GIF and PNG images will ignore the MaskColor property.
BackColor property | BackStyle property | Color Constants | ForeColor property | UseMaskColor property | Properties
© 2004-2021 looksoftware. All rights reserved.