Redigera

Dela via


LegendItem.MarkerImage Property

Definition

Gets or sets a marker image.

public:
 property System::String ^ MarkerImage { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public string MarkerImage { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.MarkerImage : string with get, set
Public Property MarkerImage As String

Property Value

A string value that represents the URL of an image file.

Attributes

Remarks

Represents a path to an image file, which can be an absolute or relative URL.

To use markers, set the MarkerStyle property to a value other than None.

The MarkerImage property takes precedence over the MarkerColor property.

A marker image can be any valid graphics file supported by .NET Framework, including icons.

To set one color of the marker image to be transparent, use the MarkerImageTransparentColor property.

Note

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

Applies to