Modifier

Partager via


AnnotationGroup.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); };
[System.ComponentModel.Browsable(false)]
public override System.Drawing.ContentAlignment Alignment { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.Alignment : System.Drawing.ContentAlignment with get, set
Public Overrides Property Alignment As ContentAlignment

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