Redigera

Dela via


Annotation.AnchorAlignment Property

Definition

Gets or sets the 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

Property Value

A ContentAlignment enumeration value that represents the alignment of the annotation to the anchor point.

Remarks

The annotation must be anchored by either using the AnchorDataPoint property, or by setting the AnchorX and AnchorY properties. Its X and Y properties must be set to NaN.

Applies to