Margins 构造函数

定义

初始化 Margins 类的新实例。Initializes a new instance of the Margins class.

重载

Margins()

初始化 Margins 类的新实例。Initializes a new instance of the Margins class.

Margins(Int32, Int32, Int32, Int32)

使用指定的上边距坐标、下边距坐标、左边距坐标和右边距坐标初始化 Margins 类的新实例。Initializes a new instance of the Margins class with the specified top, bottom, left and right coordinates of the margin.

Margins()

初始化 Margins 类的新实例。Initializes a new instance of the Margins class.

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

适用于

Margins(Int32, Int32, Int32, Int32)

使用指定的上边距坐标、下边距坐标、左边距坐标和右边距坐标初始化 Margins 类的新实例。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)

参数

top
Int32

上边距。Top margin.

bottom
Int32

下边距。Bottom margin.

left
Int32

左边距。Left margin.

right
Int32

右边距。Right margin.

注解

用于图例单元时,边距以图例字号的百分比度量。When used for legend cells, the margins are measured as a percentage of the legend's font size.

适用于