ArrowAnnotation 类

定义

表示箭头批注。Represents an arrow annotation.

public ref class ArrowAnnotation : System::Windows::Forms::DataVisualization::Charting::Annotation
public class ArrowAnnotation : System.Windows.Forms.DataVisualization.Charting.Annotation
type ArrowAnnotation = class
    inherit Annotation
Public Class ArrowAnnotation
Inherits Annotation
继承

注解

箭头批注可用于连接到图表上的点或突出显示单个图表区。Arrow annotations can be used to connect to points on the chart or to highlight a single chart area.

可以对批注应用不同的箭头样式和大小。Different arrow styles and sizes can be applied to the annotation.

构造函数

ArrowAnnotation()

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

属性

Alignment

获取或设置批注的内容对齐方式。Gets or sets the content alignment of an annotation.

(继承自 Annotation)
AllowAnchorMoving

获取或设置一个标志,该标志指定是否允许最终用户使用鼠标移动批注定位点。Gets or sets a flag that specifies whether the end user is allowed to move the annotation anchor using a mouse.

(继承自 Annotation)
AllowMoving

获取或设置一个标志,该标志指定是否允许最终用户使用鼠标移动批注。Gets or sets a flag that specifies whether the end user is allowed to move an annotation using a mouse.

(继承自 Annotation)
AllowPathEditing

获取或设置一个标志,该标志指定是否允许最终用户使用鼠标移动多边形批注点。Gets or sets a flag that specifies whether the end user is allowed to move the points of a polygon annotation using a mouse.

(继承自 Annotation)
AllowResizing

获取或设置一个标志,该标志指定是否允许最终用户使用鼠标调整批注的大小。Gets or sets a flag that specifies whether the end user is allowed to resize an annotation using a mouse.

(继承自 Annotation)
AllowSelecting

获取或设置一个标志,该标志指定是否允许最终用户使用鼠标选择批注。Gets or sets a flag that specifies whether the end user is allowed to select an annotation using a mouse.

(继承自 Annotation)
AllowTextEditing

获取或设置一个标志,该标志指定当最终用户双击批注中的文本时是否可以编辑这些文本。Gets or sets a flag that specifies whether the text in an annotation may be edited when the end user double clicks the text.

(继承自 Annotation)
AnchorAlignment

获取或设置批注相对于定位点的位置对齐方式。Gets or sets the position alignment of the annotation to the anchor point.

AnchorDataPoint

获取或设置批注所定位到的数据点。Gets or sets the data point to which an annotation is anchored.

(继承自 Annotation)
AnchorDataPointName

获取或设置批注所定位到的数据点的名称。Gets or sets the name of a data point to which an annotation is anchored.

(继承自 Annotation)
AnchorOffsetX

获取或设置批注的 X 位置相对于定位点的偏移量。Gets or sets the offset from the anchor point for the X position of an annotation.

(继承自 Annotation)
AnchorOffsetY

获取或设置批注的 Y 位置相对于定位点的偏移量。Gets or sets the offset from the anchor point for the Y position of an annotation.

(继承自 Annotation)
AnchorX

获取或设置批注所定位到的 X 坐标。Gets or sets the X coordinate to which the annotation is anchored.

(继承自 Annotation)
AnchorY

获取或设置批注所定位到的 Y 坐标。Gets or sets the Y coordinate to which the annotation is anchored.

(继承自 Annotation)
AnnotationGroup

获取批注所属的组(如果有)。Gets the group, if any, to which the annotation belongs.

(继承自 Annotation)
AnnotationType

获取批注类型的名称。Gets the name of the annotation type. 仅供内部使用,不得另作他用。For internal use, should not be used.

ArrowSize

获取或设置箭头大小(以像素为单位)。Gets or sets an arrow size, in pixels.

ArrowStyle

获取或设置箭头样式。Gets or sets the arrow style.

AxisX

获取或设置批注所附加到的 X 轴。Gets or sets the X axis to which an annotation is attached.

(继承自 Annotation)
AxisXName

获取或设置批注所附加到的 X 轴的名称。Gets or sets the name of the X axis to which an annotation is attached.

(继承自 Annotation)
AxisY

获取或设置批注所附加到的 Y 轴。Gets or sets the Y axis to which an annotation is attached.

(继承自 Annotation)
AxisYName

获取或设置批注所附加到的 Y 轴的名称。Gets or sets the name of the Y axis which an annotation is attached to.

(继承自 Annotation)
BackColor

获取或设置批注的背景色。Gets or sets the color of an annotation background.

(继承自 Annotation)
BackGradientStyle

获取或设置批注背景的渐变样式。Gets or sets the gradient style of an annotation background.

(继承自 Annotation)
BackHatchStyle

获取或设置批注背景的阴影样式。Gets or sets the hatching style of an annotation background.

(继承自 Annotation)
BackSecondaryColor

获取或设置批注背景的辅助颜色。Gets or sets the secondary color of an annotation background.

(继承自 Annotation)
Bottom

获取或设置批注位置的下边界。Gets or sets the bottom boundary of an annotation position.

(继承自 Annotation)
ClipToChartArea

获取或设置批注所剪辑到的图表区域的名称。Gets or sets the name of the chart area to which an annotation is clipped.

(继承自 Annotation)
Font

获取或设置要用于批注文本的字体。Gets or sets the font to use for the text of an annotation.

(继承自 Annotation)
ForeColor

获取或设置批注的文本颜色。Gets or sets the text color of an annotation.

(继承自 Annotation)
Height

获取或设置批注的高度。Gets or sets the height of an annotation.

(继承自 Annotation)
IsSelected

获取或设置用于确定是否已选择批注的标志。Gets or sets a flag that determines if an annotation is selected.

(继承自 Annotation)
IsSizeAlwaysRelative

获取或设置一个标志,该标志指定是否始终用相对图表坐标来定义批注的大小。Gets or sets a flag that specifies whether the size of an annotation is always defined in relative chart coordinates.

(继承自 Annotation)
LineColor

获取或设置批注的线条颜色。Gets or sets the line color of an annotation.

(继承自 Annotation)
LineDashStyle

获取或设置批注的线条样式。Gets or sets the line style of an annotation.

(继承自 Annotation)
LineWidth

获取或设置批注的线条宽度。Gets or sets the line width of an annotation.

(继承自 Annotation)
Name

获取或设置批注的唯一名称。Gets or sets the unique name of an annotation.

(继承自 Annotation)
Right

获取或设置批注的右边界位置。Gets or sets the right boundary position of an annotation.

(继承自 Annotation)
ShadowColor

获取或设置批注阴影的颜色。Gets or sets the color of an annotation's shadow.

(继承自 Annotation)
ShadowOffset

获取或设置批注阴影的大小。Gets or sets the size of an annotation's shadow.

(继承自 Annotation)
SmartLabelStyle

获取或设置批注的智能标签样式。Gets or sets the smart label style of an annotation.

(继承自 Annotation)
Tag

获取或设置与此图表元素关联的对象。Gets or sets an object associated with this chart element.

(继承自 ChartElement)
TextStyle

获取或设置批注的文本样式。Gets or sets the text style of an annotation.

(继承自 Annotation)
ToolTip

获取或设置批注的工具提示文本。Gets or sets the tooltip text for an annotation.

(继承自 Annotation)
Visible

获取或设置指定批注是否可见的标志。Gets or sets a flag that specifies whether an annotation is visible.

(继承自 Annotation)
Width

获取或设置批注的宽度(以像素为单位)。Gets or sets the width, in pixels, of an annotation.

(继承自 Annotation)
X

获取或设置批注的 X 坐标。Gets or sets the X coordinate of an annotation.

(继承自 Annotation)
Y

获取或设置批注的 Y 坐标。Gets or sets the Y coordinate of the annotation.

(继承自 Annotation)
YAxisName

获取或设置批注所附加到的 Y 轴的名称。Gets or sets the name of the Y axis to which an annotation is attached.

(继承自 Annotation)

方法

BeginPlacement()

使最终用户开始使用鼠标放置批注。Begins the end user placement of an annotation using the mouse.

(继承自 Annotation)
BringToFront()

将某个批注置于所有批注的前面。Brings an annotation to the front of all annotations.

(继承自 Annotation)
Dispose()

释放由 ChartElement 占用的资源。Releases the resources used by the ChartElement.

(继承自 ChartElement)
Dispose(Boolean)

释放非托管资源和(可选)托管资源。Releases unmanaged resources and, optionally, managed resources.

(继承自 Annotation)
EndPlacement()

使最终用户结束放置批注。Ends the end user placement of an annotation.

(继承自 Annotation)
Equals(Object)

确定指定的 Object 是否等于当前 ChartElementDetermines whether the specified Object is equal to the current ChartElement.

(继承自 ChartElement)
GetHashCode()

返回特定类型的哈希算法。Returns a hash function for a particular type.

(继承自 ChartElement)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ResizeToContent()

根据批注的内容大小调整批注的大小。Resizes an annotation according to its content size.

(继承自 Annotation)
SendToBack()

将某个批注置于所有批注的后面。Sends an annotation to the back of all the annotations.

(继承自 Annotation)
SetAnchor(DataPoint)

将某个批注定位到指定的数据点。Anchors an annotation to the specified data point.

(继承自 Annotation)
SetAnchor(DataPoint, DataPoint)

将某个批注定位到两个数据点。Anchors an annotation to two data points.

(继承自 Annotation)
ToString()

返回表示当前 Object 的字符串。Returns a string that represents the current Object.

(继承自 ChartElement)

适用于