LineAnnotation::AnchorAlignment Property

.NET Framework (current version)

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)

property ContentAlignment AnchorAlignment {
	virtual ContentAlignment get() override;
	virtual void set(ContentAlignment value) override;

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