แก้ไข

แชร์ผ่าน


CustomLabel.ImageTransparentColor Property

Definition

Gets or sets a color that will be replaced with a transparent color when a custom label image is drawn.

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

Property Value

A Color value which is replaced with a transparent color when you draw the image. The default value is Magenta.

Attributes

Applies to