LegendCell.ImageSize 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 size of the image in a legend cell.
public:
virtual property System::Drawing::Size ImageSize { System::Drawing::Size get(); void set(System::Drawing::Size value); };
[System.ComponentModel.TypeConverter(typeof(System.Web.UI.DataVisualization.Charting.SizeEmptyValueConverter))]
public virtual System.Drawing.Size ImageSize { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Web.UI.DataVisualization.Charting.SizeEmptyValueConverter))>]
member this.ImageSize : System.Drawing.Size with get, set
Public Overridable Property ImageSize As Size
Property Value
A Size value that represents the size of the image. The default value is (0,0), which means the original size of the image will be used.
- Attributes
Remarks
The ImageSize property is used to explicitly set the width and height of the legend cell image.
This property is only applicable if the CellType property is set to Image.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈