편집

다음을 통해 공유


LegendCell.ImageSize Property

Definition

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