語言

LegendCell 建構函式

定義

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

多載

名稱 Description
LegendCell()

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

LegendCell(String)

初始化類別的新實例 LegendCell ,並設定 text 指定儲存格文字或圖片名稱的參數。

LegendCell(LegendCellType, String)

初始化一個新的類別實例 LegendCell ,並以指定的儲存格類型及 text 指定儲存格文字或影像名稱的參數。

LegendCell(LegendCellType, String, ContentAlignment)

初始化一個新的類別實例 LegendCell ,包含指定的儲存格類型、內容對齊,以及 text 指定儲存格文字或影像名稱的參數。

LegendCell()

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

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

適用於

LegendCell(String)

初始化類別的新實例 LegendCell ,並設定 text 指定儲存格文字或圖片名稱的參數。

public:
 LegendCell(System::String ^ text);
public LegendCell(string text);
new System.Web.UI.DataVisualization.Charting.LegendCell : string -> System.Web.UI.DataVisualization.Charting.LegendCell
Public Sub New (text As String)

參數

text
String

一個 string 代表儲存格文字或影像名稱的值,依儲存格類型而定。

適用於

LegendCell(LegendCellType, String)

初始化一個新的類別實例 LegendCell ,並以指定的儲存格類型及 text 指定儲存格文字或影像名稱的參數。

public:
 LegendCell(System::Web::UI::DataVisualization::Charting::LegendCellType cellType, System::String ^ text);
public LegendCell(System.Web.UI.DataVisualization.Charting.LegendCellType cellType, string text);
new System.Web.UI.DataVisualization.Charting.LegendCell : System.Web.UI.DataVisualization.Charting.LegendCellType * string -> System.Web.UI.DataVisualization.Charting.LegendCell
Public Sub New (cellType As LegendCellType, text As String)

參數

cellType
LegendCellType

一個 LegendCellType 代表要使用的圖例單元類型的值。

text
String

一個字串值,代表儲存格的文字或圖片名稱,視儲存格類型而定。

適用於

LegendCell(LegendCellType, String, ContentAlignment)

初始化一個新的類別實例 LegendCell ,包含指定的儲存格類型、內容對齊,以及 text 指定儲存格文字或影像名稱的參數。

public:
 LegendCell(System::Web::UI::DataVisualization::Charting::LegendCellType cellType, System::String ^ text, System::Drawing::ContentAlignment alignment);
public LegendCell(System.Web.UI.DataVisualization.Charting.LegendCellType cellType, string text, System.Drawing.ContentAlignment alignment);
new System.Web.UI.DataVisualization.Charting.LegendCell : System.Web.UI.DataVisualization.Charting.LegendCellType * string * System.Drawing.ContentAlignment -> System.Web.UI.DataVisualization.Charting.LegendCell
Public Sub New (cellType As LegendCellType, text As String, alignment As ContentAlignment)

參數

cellType
LegendCellType

一個 LegendCellType 代表要使用的圖例單元類型的值。

text
String

一個 string 代表儲存格文字或影像名稱的值,依據儲存格類型而定。

alignment
ContentAlignment

代表 ContentAlignment 圖例格內容的對齊值。

適用於