Annotation.Alignment Property

Definition

Gets or sets the content alignment of an annotation.

public:
 virtual property System::Drawing::ContentAlignment Alignment { System::Drawing::ContentAlignment get(); void set(System::Drawing::ContentAlignment value); };
public virtual System.Drawing.ContentAlignment Alignment { get; set; }
member this.Alignment : System.Drawing.ContentAlignment with get, set
Public Overridable Property Alignment As ContentAlignment

Property Value

A ContentAlignment enumeration value that represents the content alignment.

Remarks

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

Applies to