Edit

Bagikan melalui


LegendItem.MarkerImageTransparentColor Property

Definition

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

public:
 property System::Drawing::Color MarkerImageTransparentColor { 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 MarkerImageTransparentColor { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Drawing.ColorConverter))>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.MarkerImageTransparentColor : System.Drawing.Color with get, set
Public Property MarkerImageTransparentColor As Color

Property Value

A Color value that represents an ARGB (alpha, red, green, blue) color.

Attributes

Remarks

The MarkerImageTransparentColor property is used to select one color in a marker image that will be displayed as transparent.

You can set this property to any valid ARGB (alpha, red, green, blue) value.

Note

This property is applicable only to LegendCell objects with a LegendCellType of either SeriesSymbol or Image.

Applies to