LegendCell.ImageSize Property


Gets or sets the size of the image in a legend cell.

 virtual property System::Drawing::Size ImageSize { System::Drawing::Size get(); void set(System::Drawing::Size value); };
public virtual System.Drawing.Size ImageSize { get; set; }
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.



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