Margins Constructors

Definition

Initializes a new instance of the Margins class.

Overloads

Margins()

Initializes a new instance of the Margins class.

Margins(Int32, Int32, Int32, Int32)

Initializes a new instance of the Margins class with the specified top, bottom, left and right coordinates of the margin.

Margins()

Initializes a new instance of the Margins class.

public:
 Margins();
public Margins ();
Public Sub New ()

Margins(Int32, Int32, Int32, Int32)

Initializes a new instance of the Margins class with the specified top, bottom, left and right coordinates of the margin.

public:
 Margins(int top, int bottom, int left, int right);
public Margins (int top, int bottom, int left, int right);
new System.Web.UI.DataVisualization.Charting.Margins : int * int * int * int -> System.Web.UI.DataVisualization.Charting.Margins
Public Sub New (top As Integer, bottom As Integer, left As Integer, right As Integer)

Parameters

top
Int32

Top margin.

bottom
Int32

Bottom margin.

left
Int32

Left margin.

right
Int32

Right margin.

Remarks

When used for legend cells, the margins are measured as a percentage of the legend's font size.

Applies to