Annotation.AnchorAlignment 属性
定义
获取或设置批注相对于定位点的位置对齐方式。Gets or sets the position alignment of an annotation to the anchor point.
public:
virtual property System::Drawing::ContentAlignment AnchorAlignment { System::Drawing::ContentAlignment get(); void set(System::Drawing::ContentAlignment value); };
public virtual System.Drawing.ContentAlignment AnchorAlignment { get; set; }
member this.AnchorAlignment : System.Drawing.ContentAlignment with get, set
Public Overridable Property AnchorAlignment As ContentAlignment
属性值
一个 ContentAlignment 枚举值,该值表示批注相对于定位点的对齐方式。A ContentAlignment enumeration value that represents the alignment of the annotation to the anchor point.
注解
批注必须通过使用 AnchorDataPoint 属性或通过设置 AnchorX 和属性进行定位 AnchorY 。The annotation must be anchored by either using the AnchorDataPoint property, or by setting the AnchorX and AnchorY properties. 其 X 和 Y 属性必须设置为 NaN 。Its X and Y properties must be set to NaN.