Visual Basic (Declaration) | |
---|---|
Property Alignment As StringAlignment |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As IAnnTextObject Dim value As StringAlignment instance.Alignment = value value = instance.Alignment |
C# | |
---|---|
StringAlignment Alignment {get; set;} |
C++/CLI | |
---|---|
property StringAlignment Alignment { StringAlignment get(); void set ( StringAlignment value); } |
Property Value
A System.Drawing.StringAlignment value that specifies the text alignment.This is the horizontal alignment of the text inside the bounding rectangle. To set the vertical alignment of the text inside the bounding rectangle, use the LineAlignment property.
For more information, refer to Using Text in Annotation Objects.
For more information, refer to Using Text in Annotation Objects.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7