Gets or sets the position of this box.
Syntax
Visual Basic (Declaration) | |
---|
Public Overridable Property Position As Object |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Box
Dim value As Object
instance.Position = value
value = instance.Position
|
C# | |
---|
public virtual object Position {get; set;} |
Return Value
TitleBoxPosition,
LegendBoxPosition
enumeration, or
Point.
Example
Show 3 uses of the property.
Visual Basic | Copy Code |
---|
Chart.TitleBox.Position = TitleBoxPosition.FullWithLegend
Chart.LegendBox.Position = LegendBoxPosition.Top
Chart.LegendBox.Position = New Point(10,15)
|
C# | Copy Code |
---|
//Title position Chart.TitleBox.Position = TitleBoxPosition.FullWithLegend; //Legend box position Chart.LegendBox.Position = LegendBoxPosition.Top; //Absolute legend position in pixels Chart.LegendBox.Position = New Point(10,15); |
See Also