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.