Dundas Chart for Windows Forms
ImageSize Property
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > LegendCell Class : ImageSize Property


Gets or sets the legend cell's image size.
Legend cell image size (as a percentage of legend font size). Set CellType to Image to use this property.

Syntax

Visual Basic (Declaration)  
Public Overridable Property ImageSize As Size
Visual Basic (Usage) Copy Code
Dim instance As LegendCell
Dim value As Size
 
instance.ImageSize = value
 
value = instance.ImageSize
C#  
public virtual Size ImageSize {get; set;}

Return Value

A Size value that represents the size of the image.  Defaults to Auto, meaning that the image's size will be used.

Remarks

This 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.


If property is set to Size.Empty, then original image pixels size is used.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.