Export (0) Print
Expand All

AnnotationGroup::Alignment Property

Gets or sets the content alignment of an annotation.

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

virtual property ContentAlignment Alignment {
	ContentAlignment get () override;
	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

Supported in: 4.6, 4.5, 4
© 2015 Microsoft