AnnotationGroup::Alignment 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 content alignment of an annotation.

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

public:
[BrowsableAttribute(false)]
property ContentAlignment Alignment {
	virtual ContentAlignment get() override;
	virtual void set(ContentAlignment value) override;
}

Property Value

Type: System.Drawing::ContentAlignment

A ContentAlignment value that represents the content alignment of an annotation.

This property is used to align text for TextAnnotation, RectangleAnnotation, EllipseAnnotation and CalloutAnnotation objects, and to align a nonscaled image inside an ImageAnnotation object.

.NET Framework
Available since 4.0
Return to top
Show: