PolygonAnnotation Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a polygon annotation.
public ref class PolygonAnnotation : System::Windows::Forms::DataVisualization::Charting::PolylineAnnotation
public class PolygonAnnotation : System.Windows.Forms.DataVisualization.Charting.PolylineAnnotation
type PolygonAnnotation = class
inherit PolylineAnnotation
Public Class PolygonAnnotation
Inherits PolylineAnnotation
- Inheritance
Constructors
PolygonAnnotation() |
Initializes a new instance of the PolygonAnnotation class. |
Properties
Alignment |
This property is not applicable to the polyline annotation type. (Inherited from PolylineAnnotation) |
AllowAnchorMoving |
Gets or sets a flag that specifies whether the end user is allowed to move the annotation anchor using a mouse. (Inherited from Annotation) |
AllowMoving |
Gets or sets a flag that specifies whether the end user is allowed to move an annotation using a mouse. (Inherited from 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. (Inherited from Annotation) |
AllowResizing |
Gets or sets a flag that specifies whether the end user is allowed to resize an annotation using a mouse. (Inherited from Annotation) |
AllowSelecting |
Gets or sets a flag that specifies whether the end user is allowed to select an annotation using a mouse. (Inherited from 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. (Inherited from Annotation) |
AnchorAlignment |
Gets or sets the alignment of an annotation to the anchor point. (Inherited from Annotation) |
AnchorDataPoint |
Gets or sets the data point to which an annotation is anchored. (Inherited from Annotation) |
AnchorDataPointName |
Gets or sets the name of a data point to which an annotation is anchored. (Inherited from Annotation) |
AnchorOffsetX |
Gets or sets the offset from the anchor point for the X position of an annotation. (Inherited from Annotation) |
AnchorOffsetY |
Gets or sets the offset from the anchor point for the Y position of an annotation. (Inherited from Annotation) |
AnchorX |
Gets or sets the X coordinate to which the annotation is anchored. (Inherited from Annotation) |
AnchorY |
Gets or sets the Y coordinate to which the annotation is anchored. (Inherited from Annotation) |
AnnotationGroup |
Gets the group, if any, to which the annotation belongs. (Inherited from Annotation) |
AnnotationType |
Gets the annotation type. |
AxisX |
Gets or sets the X axis to which an annotation is attached. (Inherited from Annotation) |
AxisXName |
Gets or sets the name of the X axis to which an annotation is attached. (Inherited from Annotation) |
AxisY |
Gets or sets the Y axis to which an annotation is attached. (Inherited from Annotation) |
AxisYName |
Gets or sets the name of the Y axis which an annotation is attached to. (Inherited from Annotation) |
BackColor |
Gets or sets the background color of an annotation. |
BackGradientStyle |
Gets or sets the background gradient style of an annotation. |
BackHatchStyle |
Gets or sets the background hatch style of an annotation. |
BackSecondaryColor |
Gets or sets the secondary color of the annotation background. |
Bottom |
Gets or sets the bottom boundary of an annotation position. (Inherited from Annotation) |
ClipToChartArea |
Gets or sets the name of the chart area to which an annotation is clipped. (Inherited from Annotation) |
EndCap |
This property is not applicable to the polygon annotation type. |
Font |
This property is not applicable to the polyline annotation type. (Inherited from PolylineAnnotation) |
ForeColor |
This property is not applicable to the polyline annotation type. (Inherited from PolylineAnnotation) |
GraphicsPath |
Gets or sets the path points of a polyline annotation at run time. (Inherited from PolylineAnnotation) |
GraphicsPathPoints |
Gets or sets the path points of the polyline annotation at design time. (Inherited from PolylineAnnotation) |
Height |
Gets or sets the height of an annotation. (Inherited from Annotation) |
IsFreeDrawPlacement |
Gets or sets a flag that determines whether an annotation should be placed using the free-draw mode. (Inherited from PolylineAnnotation) |
IsSelected |
Gets or sets a flag that determines if an annotation is selected. (Inherited from Annotation) |
IsSizeAlwaysRelative |
Gets or sets a flag that specifies whether the size of an annotation is always defined in relative chart coordinates. (Inherited from Annotation) |
LineColor |
Gets or sets the line color of an annotation. (Inherited from Annotation) |
LineDashStyle |
Gets or sets the line style of an annotation. (Inherited from Annotation) |
LineWidth |
Gets or sets the line width of an annotation. (Inherited from Annotation) |
Name |
Gets or sets the unique name of an annotation. (Inherited from Annotation) |
Right |
Gets or sets the right boundary position of an annotation. (Inherited from Annotation) |
ShadowColor |
Gets or sets the color of an annotation's shadow. (Inherited from Annotation) |
ShadowOffset |
Gets or sets the size of an annotation's shadow. (Inherited from Annotation) |
SmartLabelStyle |
Gets or sets the smart label style of an annotation. (Inherited from Annotation) |
StartCap |
This property is not applicable to the polygon annotation type. |
Tag |
Gets or sets an object associated with this chart element. (Inherited from ChartElement) |
TextStyle |
Gets or sets the text style of an annotation. (Inherited from PolylineAnnotation) |
ToolTip |
Gets or sets the tooltip text for an annotation. (Inherited from Annotation) |
Visible |
Gets or sets a flag that specifies whether an annotation is visible. (Inherited from Annotation) |
Width |
Gets or sets the width, in pixels, of an annotation. (Inherited from Annotation) |
X |
Gets or sets the X coordinate of an annotation. (Inherited from Annotation) |
Y |
Gets or sets the Y coordinate of the annotation. (Inherited from Annotation) |
YAxisName |
Gets or sets the name of the Y axis to which an annotation is attached. (Inherited from Annotation) |
Methods
BeginPlacement() |
Begins the end user placement of an annotation using the mouse. (Inherited from Annotation) |
BringToFront() |
Brings an annotation to the front of all annotations. (Inherited from Annotation) |
Dispose() |
Releases the resources used by the ChartElement. (Inherited from ChartElement) |
Dispose(Boolean) |
Releases unmanaged and, optionally, managed resources. (Inherited from PolylineAnnotation) |
EndPlacement() |
Ends the user placement of a polyline annotation. (Inherited from PolylineAnnotation) |
Equals(Object) |
Determines whether the specified Object is equal to the current ChartElement. (Inherited from ChartElement) |
GetHashCode() |
Returns a hash function for a particular type. (Inherited from ChartElement) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ResizeToContent() |
Resizes an annotation according to its content size. (Inherited from Annotation) |
SendToBack() |
Sends an annotation to the back of all the annotations. (Inherited from Annotation) |
SetAnchor(DataPoint, DataPoint) |
Anchors an annotation to two data points. (Inherited from Annotation) |
SetAnchor(DataPoint) |
Anchors an annotation to the specified data point. (Inherited from Annotation) |
ToString() |
Returns a string that represents the current Object. (Inherited from ChartElement) |
Applies to
.NET