Margins 類別

定義

表示各種圖表項目的邊界。

public ref class Margins
[System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.DataVisualization.Charting.MarginExpandableObjectConverter))]
public class Margins
[<System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.DataVisualization.Charting.MarginExpandableObjectConverter))>]
type Margins = class
Public Class Margins
繼承
Margins
屬性

建構函式

Margins()

初始化 Margins 類別的新執行個體。

Margins(Int32, Int32, Int32, Int32)

使用指定的上、下、左、右邊界座標來初始化 Margins 類別的新執行個體。

屬性

Bottom

取得或設定下邊界。

Left

取得或設定左邊界。

Right

取得或設定右邊界。

Top

取得或設定上邊界。

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

GetHashCode()

取得 Margins 物件的雜湊程式碼。

GetType()

取得目前執行個體的 Type

(繼承來源 Object)
IsEmpty()

判斷邊界是否空白。

MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToRectangleF()

Margins 物件轉換成 RectangleF 物件。

ToString()

Margins 物件轉換成其 string 表示。

適用於