Visual Basic (Declaration) | |
---|---|
Public Overridable Property Alignment As StringAlignment |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As AnnGroupObject Dim value As StringAlignment instance.Alignment = value value = instance.Alignment |
C# | |
---|---|
public virtual StringAlignment Alignment {get; set;} |
C++/CLI | |
---|---|
public: virtual property StringAlignment Alignment { StringAlignment get(); void set ( StringAlignment value); } |
Property Value
A System.Drawing.StringAlignment value that specifies the text alignment.When "getting" this property, internally this AnnGroupObject will enumerate all objects in the group and return the alignment of the first object in the group that implements the IAnnTextObject interface. For more information refer to Alignment.
When "setting this property, internally this AnnGroupObject will enumerate all objects in the group and set the alignment for each object that implements the IAnnTextObject interface. For more information refer to Alignment.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7