LegendItem.MarkerImage Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a marker image of the legend item.
public:
property System::String ^ MarkerImage { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(true)]
public string MarkerImage { get; set; }
[<System.ComponentModel.Bindable(true)>]
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
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour