dotnetCHARTING Send comments on this topic.
MarginTop Property
See Also  Example
dotnetCHARTING Namespace > Chart Class : MarginTop Property



Gets or sets the top margin of the chart image.

Syntax

Visual Basic (Declaration) 
Public Property MarginTop As Integer
Visual Basic (Usage)Copy Code
Dim instance As Chart
Dim value As Integer
 
instance.MarginTop = value
 
value = instance.MarginTop
C# 
public int MarginTop {get; set;}
C++/CLI 
public:
property int MarginTop {
   int get();
   void set (int value);
}

Example

C#Copy Code
Chart.MarginTop = 20; 
Visual BasicCopy Code
Chart.MarginTop = 20

See Also