CustomLabel.ImageTransparentColor 属性

定义

获取或设置在绘制自定义标签图像时,将替换为透明色的颜色。

public:
 property System::Drawing::Color ImageTransparentColor { System::Drawing::Color get(); void set(System::Drawing::Color value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Drawing.ColorConverter))]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public System.Drawing.Color ImageTransparentColor { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Drawing.ColorConverter))>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.ImageTransparentColor : System.Drawing.Color with get, set
Public Property ImageTransparentColor As Color

属性值

一个 Color 值,在绘制图像时该值所代表的颜色将替换为透明色。 默认值是 Magenta

属性

适用于