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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈