AnnotationGroup.Alignment Property

Definition

Gets or sets the content alignment of an annotation.

C#
[System.ComponentModel.Browsable(false)]
public override System.Drawing.ContentAlignment Alignment { get; set; }

Property Value

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

Attributes

Remarks

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

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1