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 枚举值,表示内容的对齐方式。

注解

此属性用于对齐 属性的文本Alignment以对齐 、 RectangleAnnotationEllipseAnnotationCalloutAnnotation 对象的文本TextAnnotation,以及对齐对象内的ImageAnnotation非缩放图像。

适用于