Annotation.AnchorAlignment Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the position alignment of an annotation to the anchor point.

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

public virtual ContentAlignment AnchorAlignment { get; set; }

Property Value

Type: System.Drawing.ContentAlignment

A ContentAlignment enumeration value that represents the alignment of the annotation to the anchor point.

The annotation must be anchored by either using the AnchorDataPoint property, or by setting the AnchorX and AnchorY properties. Its X and Y properties must be set to NaN.

.NET Framework
Available since 4.0
Return to top
Show: