Annotation.AnchorAlignment Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.