Annotation.Alignment 屬性

定義

取得或設定註釋的內容對齊方式。

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

屬性值

表示內容對齊方式的 ContentAlignment 列舉值。

備註

這個屬性用來對齊 、 EllipseAnnotationRectangleAnnotationCalloutAnnotation 物件的文字 AlignmentTextAnnotation ,以及對齊 物件內的 ImageAnnotation 非縮放影像。

適用於