LegendItem.MarkerImage Propriedade

Definição

Obtém ou define uma imagem do marcador.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

Valor da propriedade

String

Um valor string que representa a URL de um arquivo de imagem.A string value that represents the URL of an image file.

Atributos

Comentários

Representa um caminho para um arquivo de imagem, que pode ser uma URL absoluta ou relativa.Represents a path to an image file, which can be an absolute or relative URL.

Para usar marcadores, defina a MarkerStyle propriedade com um valor diferente de None .To use markers, set the MarkerStyle property to a value other than None.

A MarkerImage propriedade tem precedência sobre a MarkerColor propriedade.The MarkerImage property takes precedence over the MarkerColor property.

Uma imagem de marcador pode ser qualquer arquivo gráfico válido com suporte pelo .NET Framework, incluindo ícones.A marker image can be any valid graphics file supported by .NET Framework, including icons.

Para definir uma cor da imagem do marcador como transparente, use a MarkerImageTransparentColor propriedade.To set one color of the marker image to be transparent, use the MarkerImageTransparentColor property.

Observação

Essa propriedade é aplicável somente a LegendCell objetos com um LegendCellType de SeriesSymbol ou Image .This property is applicable only to LegendCell objects with a LegendCellType of either SeriesSymbol or Image.

Aplica-se a