LegendItem.Image 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 the image that will be displayed for a legend item symbol.
public:
property System::String ^ Image { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(true)]
public string Image { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.Image : string with get, set
Public Property Image As String
Property Value
A string
value that represents the URL of an image file. The default value is an empty string.
- Attributes
Remarks
This property determines the image file to be used for the LegendItem symbol.
The path can be an absolute or a relative URL.
If you set a background image, that image will be displayed regardless of the ImageStyle property setting.
Set the BackImageTransparentColor property to enable one color used by the image to appear transparent.
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 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈