Gets or sets an annotation's content alignment.Gets or sets an annotation's content alignment.
| Visual Basic (Declaration) | |
|---|---|
Public Overrides Property Alignment As ContentAlignment | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public override ContentAlignment Alignment {get; set;} | |
Return Value
A
A ContentAlignment value that represents the annotation's content alignment.
This property is used to align text in TextAnnotation, RectangleAnnotation, EllipseAnnotation and CalloutAnnotation objects, and to align a non-scaled image inside an ImageAnnotation object.
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