TextAnnotation 類別

定義

表示文字註解。

public ref class TextAnnotation : System::Web::UI::DataVisualization::Charting::Annotation
public class TextAnnotation : System.Web.UI.DataVisualization.Charting.Annotation
type TextAnnotation = class
    inherit Annotation
Public Class TextAnnotation
Inherits Annotation
繼承
衍生

備註

請注意,其他注釋,例如矩形和橢圓形注釋,可以顯示內部文字。

建構函式

TextAnnotation()

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

屬性

Alignment

取得或設定註釋的內容對齊方式。

(繼承來源 Annotation)
AnchorAlignment

取得或設定註解相對於錨點的對齊位置。

(繼承來源 Annotation)
AnchorDataPoint

取得或設定註釋錨定的資料點。

(繼承來源 Annotation)
AnchorDataPointName

取得或設定註釋錨定的資料點名稱。

(繼承來源 Annotation)
AnchorOffsetX

取得或設定註釋 X 位置距錨點的位移。

(繼承來源 Annotation)
AnchorOffsetY

取得或設定註釋 Y 位置距錨點的位移。

(繼承來源 Annotation)
AnchorX

取得或設定註釋錨定的 X 座標。

(繼承來源 Annotation)
AnchorY

取得或設定註釋錨定的 Y 座標。

(繼承來源 Annotation)
AnnotationGroup

取得註釋所屬的群組 (如果有的話)。

(繼承來源 Annotation)
AnnotationType

取得註解類型。

AxisX

取得或設定註釋所連接的 X 軸。

(繼承來源 Annotation)
AxisXName

取得或設定附加註釋的 X 軸名稱。

(繼承來源 Annotation)
AxisY

取得或設定註釋所連接的 Y 軸。

(繼承來源 Annotation)
AxisYName

取得或設定註釋所連接的 Y 軸名稱。

(繼承來源 Annotation)
BackColor

這個屬性不適用於文字註解類型。

BackGradientStyle

這個屬性不適用於文字註解類型。

BackHatchStyle

這個屬性不適用於文字註解類型。

BackSecondaryColor

這個屬性不適用於文字註解類型。

Bottom

取得或設定註釋位置的下界限。

(繼承來源 Annotation)
ClipToChartArea

取得或設定註釋所依附之圖表區域的名稱。

(繼承來源 Annotation)
Font

取得或設定註解文字的字型。

ForeColor

取得或設定註釋的文字色彩。

(繼承來源 Annotation)
Height

取得或設定註釋的高度。

(繼承來源 Annotation)
IsMultiline

取得或設定旗標,這個旗標表示註解文字是否為多行。

IsSelected

取得或設定旗標,這個旗標會判斷是否已選取註釋。

(繼承來源 Annotation)
IsSizeAlwaysRelative

取得或設定旗標,這個旗標會指定是否一律以相對圖表座標來定義註解的大小。

(繼承來源 Annotation)
LineColor

這個屬性不適用於文字註解類型。

LineDashStyle

這個屬性不適用於文字註解類型。

LineWidth

這個屬性不適用於文字註解類型。

MapAreaAttributes

取得或設定註釋的對應區域屬性。

(繼承來源 Annotation)
Name

取得或設定註釋的唯一名稱。

(繼承來源 Annotation)
PostBackValue

取得或設定可在 Click 事件上處理的回傳值。

(繼承來源 Annotation)
Right

取得或設定註釋的右界限位置。

(繼承來源 Annotation)
ShadowColor

取得或設定註釋陰影的色彩。

(繼承來源 Annotation)
ShadowOffset

取得或設定註釋的陰影大小。

(繼承來源 Annotation)
SmartLabelStyle

取得或設定註釋智慧標籤的樣式。

(繼承來源 Annotation)
Tag

取得或設定與這個圖表項目關聯的物件。

(繼承來源 ChartElement)
Text

取得或設定註解的文字。

TextStyle

取得或設定註釋的文字樣式。

(繼承來源 Annotation)
ToolTip

取得或設定註解工具提示的文字。

(繼承來源 Annotation)
Url

取得或設定註釋的 URL。

(繼承來源 Annotation)
Visible

取得或設定旗標,指定是否顯示註釋。

(繼承來源 Annotation)
Width

取得或設定註解的寬度 (以像素為單位)。

(繼承來源 Annotation)
X

取得或設定註解的 X 座標。

(繼承來源 Annotation)
Y

取得或設定註釋的 Y 座標。

(繼承來源 Annotation)
YAxisName

取得或設定註釋所連接的 Y 軸名稱。

(繼承來源 Annotation)

方法

BringToFront()

將某一註釋置於所有註釋的最前面。

(繼承來源 Annotation)
Dispose()

釋放 ChartElement 使用的資源。

(繼承來源 ChartElement)
Dispose(Boolean)

釋放 Unmanaged 資源並選擇性釋放 Managed 資源。

(繼承來源 Annotation)
Equals(Object)

判斷指定的 Object 是否等於目前的 ChartElement

(繼承來源 ChartElement)
GetHashCode()

傳回特定型別的雜湊函式。

(繼承來源 ChartElement)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ResizeToContent()

根據註釋內容大小調整註釋大小。

(繼承來源 Annotation)
SendToBack()

將某一註釋置於所有註釋的最後面。

(繼承來源 Annotation)
SetAnchor(DataPoint)

將註釋錨定到指定的資料點。

(繼承來源 Annotation)
SetAnchor(DataPoint, DataPoint)

將註釋錨定至兩個資料點。

(繼承來源 Annotation)
ToString()

傳回表示目前 Object 的字串。

(繼承來源 ChartElement)

適用於