Export (0) Print
Expand All

PolygonAnnotation Class

Represents a polygon annotation.

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public class PolygonAnnotation : PolylineAnnotation

The PolygonAnnotation type exposes the following members.

  NameDescription
Public methodPolygonAnnotationInitializes a new instance of the PolygonAnnotation class.
Top

  NameDescription
Public propertyAlignmentThis property is not applicable to the polyline annotation type. (Inherited from PolylineAnnotation.)
Public propertyAnchorAlignmentGets or sets the position 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, in which the annotation belongs to. (Inherited from Annotation.)
Public propertyAnnotationTypeInfrastructure. Gets the annotation type. (Overrides PolylineAnnotation.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 which an annotation is attached to. (Inherited from Annotation.)
Public propertyAxisYGets or sets the Y axis which an annotation is attached to. (Inherited from Annotation.)
Public propertyAxisYNameInfrastructure. Gets or sets the name of the Y axis which an annotation is attached to. (Inherited from Annotation.)
Public propertyBackColorGets or sets the background color of an annotation. (Overrides PolylineAnnotation.BackColor.)
Public propertyBackGradientStyleGets or sets the background gradient style of an annotation. (Overrides PolylineAnnotation.BackGradientStyle.)
Public propertyBackHatchStyleGets or sets the background hatch style of an annotation. (Overrides PolylineAnnotation.BackHatchStyle.)
Public propertyBackSecondaryColorGets or sets the secondary color of the annotation background. (Overrides PolylineAnnotation.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 propertyEndCapThis property is not applicable to the polygon annotation type. (Overrides PolylineAnnotation.EndCap.)
Public propertyFontThis property is not applicable to the polyline annotation type. (Inherited from PolylineAnnotation.)
Public propertyForeColorThis property is not applicable to the polyline annotation type. (Inherited from PolylineAnnotation.)
Public propertyGraphicsPathGets or sets the path points of a polyline annotation at run time. (Inherited from PolylineAnnotation.)
Public propertyGraphicsPathPointsGets or sets the path points of the polyline annotation at design time. (Inherited from PolylineAnnotation.)
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. (Inherited from PolylineAnnotation.)
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 propertyMapAreaAttributesGets or sets the map area attributes of an annotation. (Inherited from Annotation.)
Public propertyNameGets or sets the unique name of an annotation. (Inherited from Annotation.)
Public propertyPostBackValueGets or sets the postback value which can be processed on the Click event. (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 propertyStartCapThis property is not applicable to the polygon annotation type. (Overrides PolylineAnnotation.StartCap.)
Public propertyTagGets or sets an object associated with this chart element. (Inherited from ChartElement.)
Public propertyTextStyleGets or sets the text style of an annotation. (Inherited from PolylineAnnotation.)
Public propertyToolTipGets or sets the tooltip text for an annotation. (Inherited from Annotation.)
Public propertyUrlGets or sets the URL of 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 which an annotation is attached to. (Inherited from Annotation.)
Top

  NameDescription
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. (Inherited from PolylineAnnotation.)
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, 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