CalloutAnnotation 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示註標註解。
public ref class CalloutAnnotation : System::Windows::Forms::DataVisualization::Charting::TextAnnotation
public class CalloutAnnotation : System.Windows.Forms.DataVisualization.Charting.TextAnnotation
type CalloutAnnotation = class
inherit TextAnnotation
Public Class CalloutAnnotation
Inherits TextAnnotation
- 繼承
備註
標注批註是唯一的注釋,可繪製批註位置與錨點之間的連接。 此類別也可以顯示文字,並自動計算其所需的大小。
支援不同的標注樣式。
建構函式
| CalloutAnnotation() |
初始化 CalloutAnnotation 類別的新執行個體。 |
屬性
| Alignment |
取得或設定註釋的內容對齊方式。 (繼承來源 Annotation) |
| AllowAnchorMoving |
取得或設定旗標,這個旗標指定是否允許使用者使用滑鼠來移動註釋錨點。 (繼承來源 Annotation) |
| AllowMoving |
取得或設定旗標,這個旗標指定是否允許使用者使用滑鼠來移動註釋。 (繼承來源 Annotation) |
| AllowPathEditing |
取得或設定旗標,這個旗標指定是否允許使用者使用滑鼠來移動多邊形註釋的點。 (繼承來源 Annotation) |
| AllowResizing |
取得或設定旗標,這個旗標指定是否允許使用者使用滑鼠來調整註釋大小。 (繼承來源 Annotation) |
| AllowSelecting |
取得或設定旗標,這個旗標指定是否允許使用者使用滑鼠來選取註解。 (繼承來源 Annotation) |
| AllowTextEditing |
取得或設定旗標,這個旗標指定當使用者按兩下註釋中的文字時,是否可以編輯此文字。 (繼承來源 Annotation) |
| AnchorAlignment |
取得或設定註解對齊錨點的位置。 |
| AnchorDataPoint |
取得或設定註釋錨定的資料點。 (繼承來源 Annotation) |
| AnchorDataPointName |
取得或設定註釋錨定的資料點名稱。 (繼承來源 Annotation) |
| AnchorOffsetX |
取得或設定註解 X 位置距錨點的位移。 |
| AnchorOffsetY |
取得或設定註解 Y 位置距錨點的位移。 |
| 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) |
| CalloutAnchorCap |
取得或設定註標線的錨點端點樣式。 |
| CalloutStyle |
取得或設定註解標註的樣式。 |
| ClipToChartArea |
取得或設定註釋所依附之圖表區域的名稱。 (繼承來源 Annotation) |
| Font |
取得或設定註解文字的字型。 (繼承來源 TextAnnotation) |
| ForeColor |
取得或設定註釋的文字色彩。 (繼承來源 Annotation) |
| Height |
取得或設定註釋的高度。 (繼承來源 Annotation) |
| IsMultiline |
取得或設定旗標,這個旗標表示註解文字是否為多行。 (繼承來源 TextAnnotation) |
| IsSelected |
取得或設定旗標,這個旗標會判斷是否已選取註釋。 (繼承來源 Annotation) |
| IsSizeAlwaysRelative |
取得或設定旗標,這個旗標會指定是否一律以相對圖表座標來定義註解的大小。 (繼承來源 Annotation) |
| LineColor |
取得或設定註解的線條色彩。 |
| LineDashStyle |
取得或設定註解的線條樣式。 |
| LineWidth |
取得或設定註解的線條寬度。 |
| Name |
取得或設定註釋的唯一名稱。 (繼承來源 Annotation) |
| Right |
取得或設定註釋的右界限位置。 (繼承來源 Annotation) |
| ShadowColor |
取得或設定註釋陰影的色彩。 (繼承來源 Annotation) |
| ShadowOffset |
取得或設定註釋的陰影大小。 (繼承來源 Annotation) |
| SmartLabelStyle |
取得或設定註釋智慧標籤的樣式。 (繼承來源 Annotation) |
| Tag |
取得或設定與這個圖表項目關聯的物件。 (繼承來源 ChartElement) |
| Text |
取得或設定註解的文字。 (繼承來源 TextAnnotation) |
| TextStyle |
取得或設定註釋的文字樣式。 (繼承來源 Annotation) |
| ToolTip |
取得或設定註解工具提示的文字。 (繼承來源 Annotation) |
| Visible |
取得或設定旗標,指定是否顯示註釋。 (繼承來源 Annotation) |
| Width |
取得或設定註解的寬度 (以像素為單位)。 (繼承來源 Annotation) |
| X |
取得或設定註解的 X 座標。 (繼承來源 Annotation) |
| Y |
取得或設定註釋的 Y 座標。 (繼承來源 Annotation) |
| YAxisName |
取得或設定註解所連接的 Y 軸名稱。 (繼承來源 Annotation) |
方法
| BeginPlacement() |
開始讓使用者使用滑鼠放置註解。 (繼承來源 Annotation) |
| BeginTextEditing() |
開始讓使用者編輯註解文字。 (繼承來源 TextAnnotation) |
| BringToFront() |
將某一註釋置於所有註釋的最前面。 (繼承來源 Annotation) |
| Dispose() |
釋放 ChartElement 使用的資源。 (繼承來源 ChartElement) |
| Dispose(Boolean) |
釋放 Unmanaged 資源並選擇性釋放 Managed 資源。 (繼承來源 Annotation) |
| EndPlacement() |
結束讓使用者放置註解。 (繼承來源 TextAnnotation) |
| Equals(Object) |
判斷指定的 Object 是否等於目前的 ChartElement。 (繼承來源 ChartElement) |
| GetHashCode() |
傳回特定型別的雜湊函式。 (繼承來源 ChartElement) |
| GetType() |
取得目前執行個體的 Type。 (繼承來源 Object) |
| MemberwiseClone() |
建立目前 Object 的淺層複製。 (繼承來源 Object) |
| ResizeToContent() |
根據註釋內容大小調整註釋大小。 (繼承來源 Annotation) |
| SendToBack() |
將某一註釋置於所有註釋的最後面。 (繼承來源 Annotation) |
| SetAnchor(DataPoint) |
將註釋錨定到指定的資料點。 (繼承來源 Annotation) |
| SetAnchor(DataPoint, DataPoint) |
將註釋錨定至兩個資料點。 (繼承來源 Annotation) |
| StopTextEditing() |
停止讓使用者編輯註解文字。 (繼承來源 TextAnnotation) |
| ToString() |
傳回表示目前 Object 的字串。 (繼承來源 ChartElement) |