Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
AnnotationPathPoint Class
Collapse the table of content
Expand the table of content

AnnotationPathPoint Class

.NET Framework 4.6 and 4.5

Represents a path point of a PolylineAnnotation or PolygonAnnotation, which is stored in their PathPoints property.


Namespace:  System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public class AnnotationPathPoint : ChartElement

The AnnotationPathPoint type exposes the following members.

Public methodAnnotationPathPoint()Initializes a new instance of the AnnotationPathPoint class.
Public methodAnnotationPathPoint(Single, Single)Initializes a new instance of the AnnotationPathPoint class with the specified x and y values.
Public methodAnnotationPathPoint(Single, Single, Byte)Initializes a new instance of the AnnotationPathPoint class with the specified x, y and point type values.

Public propertyNameGets the name for the path point of an annotation.
Public propertyPointTypeGets or sets the type for the path point of an annotation.
Public propertyTagGets or sets an object associated with this chart element. (Inherited from ChartElement.)
Public propertyXGets or sets the X coordinate for the path point of an annotation.
Public propertyYGets or sets the Y coordinate for the path point of an annotation.

Public methodDispose()Releases the resources used by the ChartElement. (Inherited from ChartElement.)
Protected methodDispose(Boolean)Releases the unmanaged resources used by the ChartElement and optionally releases the managed resources. (Inherited from ChartElement.)
Public methodEqualsDetermines whether the specified Object is equal to the current ChartElement. (Inherited from ChartElement.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeReturns a hash function for a particular type. (Inherited from ChartElement.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current Object. (Inherited from ChartElement.)

At run time, use the GraphicsPath or GraphicsPath class to set the path of a polyline or polygon.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft