Dundas Chart for Windows Forms
AnchorAlignment Property
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > CalloutAnnotation Class : AnchorAlignment Property


 Gets or sets annotation position alignment to the anchor point.
Gets or sets annotation position alignment to the anchor point.

Syntax

Visual Basic (Declaration)  
Public Overrides Property AnchorAlignment As ContentAlignment
Visual Basic (Usage) Copy Code
Dim instance As CalloutAnnotation
Dim value As ContentAlignment
 
instance.AnchorAlignment = value
 
value = instance.AnchorAlignment
C#  
public override ContentAlignment AnchorAlignment {get; set;}

Return Value

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


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

Example

This property is used to align text for TextAnnotation, RectangleAnnotation, EllipseAnnotation and CalloutAnnotation objects, and to align a non-scaled image inside an ImageAnnotation object.

Remarks

Annotation must be anchored using AnchorDataPoint, AnchorX or AnchorY properties. It's X and Y properties must be set to Double.NaN.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.