Visual Basic (Declaration) | |
---|---|
Public Overridable Property Alignment As StringAlignment |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public virtual StringAlignment Alignment {get; set;} |
C++/CLI | |
---|---|
public: virtual property StringAlignment Alignment { StringAlignment get(); void set (StringAlignment value); } |
Return Value
A StringAlignment value that specifies the text alignment.For an example, refer to AnnTextObject.
This is the horizontal alignment of the text inside the AnnRectangleObject.Bounds bounding rectangle.
To set the vertical alignment or the text inside the bounding rectangle, use the LineAlignment property.
For more information, refer to Using Text in Annotation Object.
For more information, refer to Using Text in Annotation Object.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family