Gets or sets an annotation's content alignment.Gets or sets an annotation's content alignment.
| Visual Basic (Declaration) | |
|---|---|
Public Overridable Property Alignment As ContentAlignment | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public virtual ContentAlignment Alignment {get; set;} | |
Return Value
A
A ContentAlignment value that represents the content alignment.
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.
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.
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