Export (0) Print
Expand All

PolylineAnnotation Class

Represents a polyline annotation.

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

public class PolylineAnnotation : Annotation

The PolylineAnnotation type exposes the following members.

  NameDescription
Public methodPolylineAnnotationInitializes a new instance of the PolylineAnnotation class.
Top

  NameDescription
Public propertyAlignmentThis property is not applicable to the polyline annotation type. (Overrides Annotation.Alignment.)
Public propertyAllowAnchorMovingGets or sets a flag that specifies whether the end user is allowed to move the annotation anchor using a mouse. (Inherited from Annotation.)
Public propertyAllowMovingGets or sets a flag that specifies whether the end user is allowed to move an annotation using a mouse. (Inherited from Annotation.)
Public propertyAllowPathEditingGets 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.)
Public propertyAllowResizingGets or sets a flag that specifies whether the end user is allowed to resize an annotation using a mouse. (Inherited from Annotation.)
Public propertyAllowSelectingGets or sets a flag that specifies whether the end user is allowed to select an annotation using a mouse. (Inherited from Annotation.)
Public propertyAllowTextEditingGets 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.)
Public propertyAnchorAlignmentGets or sets the alignment of an annotation to the anchor point. (Inherited from Annotation.)
Public propertyAnchorDataPointGets or sets the data point to which an annotation is anchored. (Inherited from Annotation.)
Public propertyAnchorDataPointNameInfrastructure. Gets or sets the name of a data point to which an annotation is anchored. (Inherited from Annotation.)
Public propertyAnchorOffsetXGets or sets the offset from the anchor point for the X position of an annotation. (Inherited from Annotation.)
Public propertyAnchorOffsetYGets or sets the offset from the anchor point for the Y position of an annotation. (Inherited from Annotation.)
Public propertyAnchorXGets or sets the X coordinate to which the annotation is anchored. (Inherited from Annotation.)
Public propertyAnchorYGets or sets the Y coordinate to which the annotation is anchored. (Inherited from Annotation.)
Public propertyAnnotationGroupInfrastructure. Gets the group, if any, to which the annotation belongs. (Inherited from Annotation.)
Public propertyAnnotationTypeInfrastructure. Gets the annotation type. (Overrides Annotation.AnnotationType.)
Public propertyAxisXGets or sets the X axis to which an annotation is attached. (Inherited from Annotation.)
Public propertyAxisXNameInfrastructure. Gets or sets the name of the X axis to which an annotation is attached. (Inherited from Annotation.)
Public propertyAxisYGets or sets the Y axis to which an annotation is attached. (Inherited from Annotation.)
Public propertyAxisYNameInfrastructure. Gets or sets the name of the Y axis which an annotation is attached to. (Inherited from Annotation.)
Public propertyBackColorThis property is not applicable to the polyline annotation type. (Overrides Annotation.BackColor.)
Public propertyBackGradientStyleThis property is not applicable to the polyline annotation type. (Overrides Annotation.BackGradientStyle.)
Public propertyBackHatchStyleThis property is not applicable to the polyline annotation type. (Overrides Annotation.BackHatchStyle.)
Public propertyBackSecondaryColorThis property is not applicable to the polyline annotation type. (Overrides Annotation.BackSecondaryColor.)
Public propertyBottomGets or sets the bottom boundary of an annotation position. (Inherited from Annotation.)
Public propertyClipToChartAreaGets or sets the name of the chart area to which an annotation is clipped. (Inherited from Annotation.)
Public propertyEndCapGets or sets the style of an anchor cap at the end of the annotation line.
Public propertyFontThis property is not applicable to the polyline annotation type. (Overrides Annotation.Font.)
Public propertyForeColorThis property is not applicable to the polyline annotation type. (Overrides Annotation.ForeColor.)
Public propertyGraphicsPathGets or sets the path points of a polyline annotation at run time.
Public propertyGraphicsPathPointsGets or sets the path points of the polyline annotation at design time.
Public propertyHeightGets or sets the height of an annotation. (Inherited from Annotation.)
Public propertyIsFreeDrawPlacementGets or sets a flag that determines whether an annotation should be placed using the free-draw mode.
Public propertyIsSelectedGets or sets a flag that determines if an annotation is selected. (Inherited from Annotation.)
Public propertyIsSizeAlwaysRelativeGets or sets a flag that specifies whether the size of an annotation is always defined in relative chart coordinates. (Inherited from Annotation.)
Public propertyLineColorGets or sets the line color of an annotation. (Inherited from Annotation.)
Public propertyLineDashStyleGets or sets the line style of an annotation. (Inherited from Annotation.)
Public propertyLineWidthGets or sets the line width of an annotation. (Inherited from Annotation.)
Public propertyNameGets or sets the unique name of an annotation. (Inherited from Annotation.)
Public propertyRightGets or sets the right boundary position of an annotation. (Inherited from Annotation.)
Public propertyShadowColorGets or sets the color of an annotation's shadow. (Inherited from Annotation.)
Public propertyShadowOffsetGets or sets the size of an annotation's shadow. (Inherited from Annotation.)
Public propertySmartLabelStyleGets or sets the smart label style of an annotation. (Inherited from Annotation.)
Public propertyStartCapGets or sets a style for the anchor cap at the start of the annotation line.
Public propertyTagGets or sets an object associated with this chart element. (Inherited from ChartElement.)
Public propertyTextStyleGets or sets the text style of an annotation. (Overrides Annotation.TextStyle.)
Public propertyToolTipGets or sets the tooltip text for an annotation. (Inherited from Annotation.)
Public propertyVisibleGets or sets a flag that specifies whether an annotation is visible. (Inherited from Annotation.)
Public propertyWidthGets or sets the width, in pixels, of an annotation. (Inherited from Annotation.)
Public propertyXGets or sets the X coordinate of an annotation. (Inherited from Annotation.)
Public propertyYGets or sets the Y coordinate of the annotation. (Inherited from Annotation.)
Public propertyYAxisNameInfrastructure. Gets or sets the name of the Y axis to which an annotation is attached. (Inherited from Annotation.)
Top

  NameDescription
Public methodBeginPlacementBegins the end user placement of an annotation using the mouse. (Inherited from Annotation.)
Public methodBringToFrontBrings an annotation to the front of all annotations. (Inherited from Annotation.)
Public methodDispose()Releases the resources used by the ChartElement. (Inherited from ChartElement.)
Protected methodDispose(Boolean)Releases unmanaged and, optionally, managed resources. (Overrides Annotation.Dispose(Boolean).)
Public methodEndPlacementEnds the user placement of a polyline annotation. (Overrides Annotation.EndPlacement().)
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 methodResizeToContentResizes an annotation according to its content size. (Inherited from Annotation.)
Public methodSendToBackSends an annotation to the back of all the annotations. (Inherited from Annotation.)
Public methodSetAnchor(DataPoint)Anchors an annotation to the specified data point. (Inherited from Annotation.)
Public methodSetAnchor(DataPoint, DataPoint)Anchors an annotation to two data points. (Inherited from Annotation.)
Public methodToStringReturns a string that represents the current Object. (Inherited from ChartElement.)
Top

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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