Legend.BackImage Propriedade

Definição

Obtém ou define a imagem da tela de fundo de uma legenda.Gets or sets the background image of a legend.

public:
 property System::String ^ BackImage { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public string BackImage { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.BackImage : string with get, set
Public Property BackImage 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. O valor padrão é uma cadeia de caracteres vazia.The default value is an empty string.

Atributos

Comentários

Esta propriedade define um caminho para uma imagem de plano de fundo para uma Chart legenda e pode ser uma URL absoluta ou relativa.This property defines a path to a background image for a Chart legend, and can be an absolute or relative URL.

Para posicionar a imagem, use BackImageAlignment as BackImageWrapMode Propriedades e.To position the image, use the BackImageAlignment and BackImageWrapMode properties.

Você também pode especificar uma das cores exibidas pela imagem como "transparente", definindo a BackImageTransparentColor propriedade.You can also specify one of the colors displayed by the image as "transparent", by setting the BackImageTransparentColor property.

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

As imagens em segundo plano têm precedência sobre outras propriedades de segundo plano, como cor de gradiente.Background images take precedence over other background properties such as gradient color.

Aplica-se a