Gets or sets an ElementPosition object, which can be used to get or set the legend's position.
Legend rectangle position
Visual Basic (Declaration) | |
---|---|
Public Property Position As ElementPosition |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public ElementPosition Position {get; set;} |
Return Value
A value that represents the legend's position. Defaults to Auto.
If the Position property is automatic (e.g. Legend.Position.Auto = true) then the legend position is calculated automatically by the control, taking into account the Docking, Alignment and DockInsideChartArea property settings.
If it is not automatic then the Docking and InsideChartArea properties are ignored, and the legend position is solely determined by this ElementPosition object.
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