LineAnnotation.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.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

[BrowsableAttribute(false)]
public override ContentAlignment AnchorAlignment { get; set; }

Property Value

Type: System.Drawing.ContentAlignment

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

The annotation must be anchored using either AnchorDataPoint, or 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: